% Not Calculating Correctly


  • Default avatar
    philip    
     12 years ago
    0

    I created a coupon for 15% and it is calculating a 16.31 % Discount at check out... any idea why it is doing this?

    Thank you
    Philip
  • Your avatar
    seyi    
     12 years ago
    0

    Hello Philip,

    Not sure, would need more information to figure out why:

    - what version of virtuemart are you using
    - moving from the normal shopping cart page all the way through confirmation page, does the discount stay the same?
    - what is your tax rate?
    - what tax mode are you using?
    - are you displaying prices with tax?
    - can you provide the numbers of the example above where you receive 16.31%? subtotal, total, shipping, tax,.... every number on the screen
  • Default avatar
    philip    
     12 years ago
    0

    - what version of virtuemart are you using

    VERSION 1.1.2

    - moving from the normal shopping cart page all the way through confirmation page, does the discount stay the same?

    Yes it does stay the same all the way through.

    - what is your tax rate?

    Tax for California 0.0875/ Nevada 0.0810

    - what tax mode are you using?

    Based on shipping address

    - are you displaying prices with tax?

    No

    - can you provide the numbers of the example above where you receive 16.31%? subtotal, total, shipping, tax,.... every number on the screen

    Subtotal: $149.70
    Shipping and Handling Fee: $13.65
    Tax Total: $13.10
    Coupon Discount: - $24.42

    Total: $152.03
  • Your avatar
    seyi    
     12 years ago
    0

    the coupon discount is displayed with tax:

    149.7*1.0875 = 162.80 (product total with tax)
    162.8*0.15 = 24.42 (coupon discount with tax)
    162.80 - 24.42 = 138.38 (product total with tax after discount)

    ---------------------------------

    149.7 (product total without tax)
    149.7*0.15 = 22.455 (coupon discount without tax)
    149.7-22.455=127.245 (product total without tax after discount)
    127.245*1.0875 = 138.38 (product total with tax after discount)

    Either way. the total ends up the same.
  • Default avatar
    philip    
     12 years ago
    0

    Thank You