[Skip to main content](#vessel-content)

#   Coupon checkout calculation problem

##

- **[dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")**
- [![dunxmax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9795-dunxmax "View dunxmax's Profile") Topic Author
- [ Offline](/forum/user/9795-dunxmax)

Less More

- Posts: 82
- Thank you received: 6
-
-
-
- [](http://www.aquamandesign.co.uk)
-

8 months 3 weeks ago [\#370659](#370659) by [dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")  *[Coupon checkout calculation problem](/forum/27-checkout/910152-coupon-checkout-calculation-problem#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")* was created by *[dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")*

-- url of the page with the problem -- : [ shop.conformance.co.uk/](https://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.

- [ ![Screenshot2026-03-04at12.00.39.png](/forum/attachment/61251) ](/forum/attachment/61251 "...at12.00.39.png") [ ](/forum/attachment/61251?download=1 "...at12.00.39.png")
- [ ![Screenshot2026-03-04at12.00.23.png](/forum/attachment/61252) ](/forum/attachment/61252 "...at12.00.23.png") [ ](/forum/attachment/61252?download=1 "...at12.00.23.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDE1Mi1jb3Vwb24tY2hlY2tvdXQtY2FsY3VsYXRpb24tcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 months 3 weeks ago [\#370660](#370660) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon checkout calculation problem](/forum/27-checkout/910152-coupon-checkout-calculation-problem#370660 "-- 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")*

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 &gt; Configuration &gt; 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 &gt; 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDE1Mi1jb3Vwb24tY2hlY2tvdXQtY2FsY3VsYXRpb24tcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")**
- [![dunxmax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9795-dunxmax "View dunxmax's Profile") Topic Author
- [ Offline](/forum/user/9795-dunxmax)

Less More

- Posts: 82
- Thank you received: 6
-
-
-
- [](http://www.aquamandesign.co.uk)
-

8 months 3 weeks ago [\#370677](#370677) by [dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")  Replied by *[dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")* on topic *[Coupon checkout calculation problem](/forum/27-checkout/910152-coupon-checkout-calculation-problem#370677 "-- 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")*

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](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDE1Mi1jb3Vwb24tY2hlY2tvdXQtY2FsY3VsYXRpb24tcHJvYmxlbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.070 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
