Discount not calculating properly


  • Default avatar
    wade85    
     11 months ago  last edited 11 months ago
    0

    I am currently using the latest AWO Coupon 2.5.3 Pro with Virtuemart 3.0.18 and Joomla 3.6.4.

    The issue we are having is with the calculation of our discounts.
    For example, I have an item that is $35.00 usd and my discount is 40%. The discount that is being calculated is $15.12 but it should be $14.00.

    I am not sure how/why the $15.12 is coming up.

    Any help is appreciated.

    Thanks,
    James

    It appears that the discount is being taxed.

    See here:
    https://postimg.org/image/fkatm5mf3/

    The discount should be $14.00.
    So, I did 14 x .08 = 1.12 which equals 15.12
    I am not sure where/why this is happening.

    Thanks,
    James

  • Your avatar
    seyi    
     11 months ago  last edited 11 months ago
    0

    Hello,

    On a percentage discount, whether the discount is before or after tax, the total will be the same:
    http://awodev.com/blog/virtuemart-coupon-error-discount-before-tax#background

    What changes is the amount attributed to tax.  Now looking at the image the discount is before tax, since the tax total is calculated after discount:

    35 * 0.6 * 0.08 = 1.68

    The coupon amount shows including the tax savings.  In awocoupon->configuration, do you see the use injection mode setting?  If so do you have it set to yes?