Wrong percentage


  • Default avatar
    bcall    
     8 years ago
    0

    Hello, i've sent you an email but i think this is where my inquiry should go instead. I have Virtuemart 2.6, Joomla 2.5 and Awo Coupon free version 2.0.21. Coupons for total quantities work fine but percentages are displayed incorrectly at checkout.

    Example:

    I've created a 15% discount coupon for this product (total price has taxes already included - 21%)

    http://tinyurl.com/oq3qh6j

    Product price is 11,54

    15% Discount should be -1,51

    Discount after applying coupon code is -1.73

    Any sugestions?

    Thanks and regards.
  • Your avatar
    seyi    
     8 years ago
    0

    Hello,

    The discount is applied on the whole amount, so it is:

    11.54 * .15 = 1.731

    For percentage coupons the overall total is the same if it is applied before or after tax, as I describe here:
    https://awodev.com/blog/virtuemart-coupon-error-discount-before-tax#background

    The free version of AwoCoupon only supports after tax. If you need before tax calculations, then you would need AwoCoupon Pro.
  • Default avatar
    bcall    
     8 years ago
    0

    I see, thanks for the help, very much appreciated

    Regards