VM3 Calculate the discount before tax (Coupons) Not Working


  • Default avatar
    christos    
     a year ago
    0

    Hi Seyi,

    have enabled Calculate the discount before tax (Coupons) for VM3, but the discount is calculated after tax.

    You may verify here:

    www.quality-tuning.eu (use 15% discount coupon COLTDE)

    Using J3.4.3 and VM3.0.10dev (but maybe this also a problem in VM3.0.9.4.)

    Rgrds,
    Chris
  • Your avatar
    seyi    
     a year ago
    0

    Hello,

    Just tested it, seems to work fine for me. Added BL206-SET to cart.
    Total including tax: 109.25
    Tax: 17.44 (19% tax)

    So for 15% discount (before tax)
    Total before tax: 109.25 - 17.44 = 91.81
    Discount: 91.81 * .15 = 13.7715
    Total after discount before tax: 91.81-13.7715 = 78.0385
    Tax: 78.0385 * .19 = 14.827315
    Total: 78.0385 + 14.827315 = 92.8658

    After applying the coupon I see
    Total: 92.86
    Tax: 14.83

    If it was calculated after tax, the tax total would still be 17.44
  • Default avatar
    dimitrios    
     8 months ago
    0

    Very nice explanation, Seyi. Answered my question. You the man!