Coupon checkout calculation problem

  • Posts: 82
  • Thank you received: 6
  • Hikashop Business
2 days 20 hours ago #370659

-- url of the page with the problem -- : shop.conformance.co.uk/
-- HikaShop version -- : 6.3.0
-- Joomla version -- : 5.4.3
-- PHP version -- : 8.2.30

Hi,

I've been presented with a curious problem and wonder if you can help me resolve it.

My checkout is configured to show total prices of product including taxes.

I have discount coupon code of 10% that can be applied at the checkout.

When I apply the code, the system calculates the new overall price and including the removal of the cost of tax, however the checkout page still shows the old tax and not the new tax.

For instance if I have a product that costs £50 with 20% tax the tax is £10 and the total price is £60 - that's fine.

When I apply the code of 10%, the total price reduces by 10% to £54, which is correct including reduction of tax, but the tax line is still saying £10, it should say £9.

Do I need to make a change to the configuration or is this a general problem?

I have attached screenshots to illustrate.

Any advice grately appreciated - as always.

Kind Regards

Duncan


DunxMax

The more we learn the less we know.
Attachments:

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

  • Posts: 85203
  • Thank you received: 13909
  • MODERATOR
2 days 15 hours ago #370660

Hello,

Thank you for the report. The total being £54 is correct (£45 + £9 tax), so the underlying calculation seems right, but the tax breakdown display doesn't match.

Could you check a couple of things for me:
1. In your HikaShop configuration (System > Configuration > Tax tab), what are the "Discount before tax" and "Coupon before tax" settings set to? These control whether the discount/coupon is applied to the price before or after tax is calculated, which directly affects how the tax amount is displayed.
2. On the coupon itself (Marketing > Discounts), what is the "Tax" setting of your coupon set to? If it's set to a specific tax category, the discount amount will be taxed accordingly, which affects the tax line display.

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

  • Posts: 82
  • Thank you received: 6
  • Hikashop Business
1 day 23 hours ago #370677

Hi Nicolas,

The setting for the coupons was set to "After taxes". Changed that to "Before taxes" and now the tax showing is correct.

Thanks for your help - as I said always appreciated.

Duncan


DunxMax

The more we learn the less we know.
The following user(s) said Thank You: nicolas

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

Time to create page: 0.057 seconds
Powered by Kunena Forum