Total Calculation Incorrect When Using Coupons

  • Posts: 3
  • Thank you received: 0
9 years 5 months ago #205924

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.41
-- Browser(s) name and version -- : Chrome Version 43.0.2357.124 (64-bit)

Hi there,

I am testing the Hikashop shopping cart before making our website live, and I noticed that the total calculation seems to be incorrect when we use a Hikashop coupon. Please see the attached screenshot for examples of receipts.

In one example, it seems the total should be $149.73 (when manually adding the subtotal, coupon, GST, and PST), but the total displays as $150.93 ($1.20 difference).

In another example, it seems the total should be $77.51 (when manually adding the subtotal, coupon, GST, and PST), but the total displays as $78.71 ($1.20 difference).

In the third example, it seems the total should be $121.84 (when manually adding the subtotal, coupon, GST, and PST), but the total displays as $122.89 ($1.05 difference).

I've also attached screenshots of my relevant configuration pages.

I can't figure out why the calculation is incorrect.

Please let me know how I can fix this and/or if you need more information from me.

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 4 months ago #206654

Hi,

You have two ways to configure the way taxes should be applied with coupons:
- The "apply discount" setting of the HikaShop configuration
- The "tax category" setting of the coupon itself
This is necessary as different countries have different laws on how this should be handled.
By modifying these, you can modify the behavior of the calculations and thus get the result that you expect.
Right now, without the tax category selected in the coupon, it's normal that the calculations are not like you want as taxes are not taken into account for the calculations of the coupon.

The following user(s) said Thank You: dexity812

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum