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

#   Wrong tax - doesn't take coupon into account.

##

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

Less More

- Posts: 57
- Thank you received: 2
-
-

4 years 10 months ago [\#337590](#337590) by [Marcin71](/forum/user/33530-marcin71 "View Marcin71's Profile")  *[Wrong tax - doesn't take coupon into account.](/forum/46-discount-coupon/903589-wrong-tax-doesnt-take-coupon-into-account#337590 "Hi  There seems to be a bug introduced most likely in one of the latest update. Tax is showing wrong in Base tax field. Tax there should be after discount, but it is showing before discount. Total is correct. The same info is in customer's email.  Please let me know if this is settings issue or bug. I assume is a bug as we didn't change anything.")* was created by *[Marcin71](/forum/user/33530-marcin71 "View Marcin71's Profile")*

Hi

There seems to be a bug introduced most likely in one of the latest update. Tax is showing wrong in Base tax field. Tax there should be after discount, but it is showing before discount. Total is correct.
The same info is in customer's email.

Please let me know if this is settings issue or bug. I assume is a bug as we didn't change anything.

- [ ![Screenshot&#95;CouponTRax&#95;Wrong.jpg](/forum/attachment/53962) ](/forum/attachment/53962 "...TRax&#95;Wrong.jpg") [ ](/forum/attachment/53962?download=1 "...TRax&#95;Wrong.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDM1ODktd3JvbmctdGF4LWRvZXNudC10YWtlLWNvdXBvbi1pbnRvLWFjY291bnQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

4 years 10 months ago [\#337592](#337592) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong tax - doesn't take coupon into account.](/forum/46-discount-coupon/903589-wrong-tax-doesnt-take-coupon-into-account#337592 "Hi  There seems to be a bug introduced most likely in one of the latest update. Tax is showing wrong in Base tax field. Tax there should be after discount, but it is showing before discount. Total is correct. The same info is in customer's email.  Please let me know if this is settings issue or bug. I assume is a bug as we didn't change anything.")*

Hi,

I suppose it's a setting issue. In the coupon settings, you can select if you have automatic or manual taxes. And if it's manual, you can select which tax category to use for the tax rules applied on the discount amount.
So first, check that it's set to automatic taxes.
Then, in the HikaShop configuration, you have an "apply coupon" setting with the values "before taxes" and "after taxes". You might need to switch that setting.
Finally, in old versions of HikaShop we had a tax override plugin. If you have that plugin activated, make sure you deactivate it as it can cause issues with the tax calculations, especially with coupons. In fact, you can even uninstall it.

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

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

Less More

- Posts: 57
- Thank you received: 2
-
-

4 years 10 months ago [\#337610](#337610) by [Marcin71](/forum/user/33530-marcin71 "View Marcin71's Profile")  Replied by *[Marcin71](/forum/user/33530-marcin71 "View Marcin71's Profile")* on topic *[Wrong tax - doesn't take coupon into account.](/forum/46-discount-coupon/903589-wrong-tax-doesnt-take-coupon-into-account#337610 "Hi  There seems to be a bug introduced most likely in one of the latest update. Tax is showing wrong in Base tax field. Tax there should be after discount, but it is showing before discount. Total is correct. The same info is in customer's email.  Please let me know if this is settings issue or bug. I assume is a bug as we didn't change anything.")*

Hi

Thanks for reply. I did checks suggested and all seems to be ok.

[ ![Screenshot&#95;Config&#95;Taxes.jpg](/forum/attachment/53963) ](/forum/attachment/53963 "...nfig&#95;Taxes.jpg")

[ ![Screenshot&#95;Config&#95;Coupon.jpg](/forum/attachment/53964) ](/forum/attachment/53964 "...fig&#95;Coupon.jpg")

but I think problem is here as these tax fields is not populated automatically:
[ ![Screenshot&#95;Order&#95;AddInfo.jpg](/forum/attachment/53967) ](/forum/attachment/53967 "...er&#95;AddInfo.jpg")

If I enter tax all is ok.
In general tax is calculated correctly in total sum, but it is wrongly displayed in Base tax field.

[ ![Screenshot&#95;CouponTRax&#95;Wrong&#95;2021-12-02.jpg](/forum/attachment/53968) ](/forum/attachment/53968 "...2021-12-02.jpg")

- [ ![Screenshot&#95;Config&#95;Taxes.jpg](/forum/attachment/53963) ](/forum/attachment/53963 "...nfig&#95;Taxes.jpg") [ ](/forum/attachment/53963?download=1 "...nfig&#95;Taxes.jpg")
- [ ![Screenshot&#95;Config&#95;Coupon.jpg](/forum/attachment/53964) ](/forum/attachment/53964 "...fig&#95;Coupon.jpg") [ ](/forum/attachment/53964?download=1 "...fig&#95;Coupon.jpg")
- [ ![Screenshot&#95;Order&#95;AddInfo&#95;Correct&#95;backend.jpg](/forum/attachment/53965) ](/forum/attachment/53965 "...ct&#95;backend.jpg") [ ](/forum/attachment/53965?download=1 "...ct&#95;backend.jpg")
- [ ![Screenshot&#95;Order&#95;AddInfo&#95;Correct.jpg](/forum/attachment/53966) ](/forum/attachment/53966 "...fo&#95;Correct.jpg") [ ](/forum/attachment/53966?download=1 "...fo&#95;Correct.jpg")
- [ ![Screenshot&#95;Order&#95;AddInfo.jpg](/forum/attachment/53967) ](/forum/attachment/53967 "...er&#95;AddInfo.jpg") [ ](/forum/attachment/53967?download=1 "...er&#95;AddInfo.jpg")
- [ ![Screenshot&#95;CouponTRax&#95;Wrong&#95;2021-12-02.jpg](/forum/attachment/53968) ](/forum/attachment/53968 "...2021-12-02.jpg") [ ](/forum/attachment/53968?download=1 "...2021-12-02.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDM1ODktd3JvbmctdGF4LWRvZXNudC10YWtlLWNvdXBvbi1pbnRvLWFjY291bnQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

4 years 10 months ago [\#337611](#337611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong tax - doesn't take coupon into account.](/forum/46-discount-coupon/903589-wrong-tax-doesnt-take-coupon-into-account#337611 "Hi  There seems to be a bug introduced most likely in one of the latest update. Tax is showing wrong in Base tax field. Tax there should be after discount, but it is showing before discount. Total is correct. The same info is in customer's email.  Please let me know if this is settings issue or bug. I assume is a bug as we didn't change anything.")*

Hi,

I think the issue is wih the "apply coupon" setting. I think you should change it so that taxes are taken into account when the coupon is calculated and added to the cart.

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

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

Less More

- Posts: 57
- Thank you received: 2
-
-

4 years 10 months ago [\#337629](#337629) by [Marcin71](/forum/user/33530-marcin71 "View Marcin71's Profile")  Replied by *[Marcin71](/forum/user/33530-marcin71 "View Marcin71's Profile")* on topic *[Wrong tax - doesn't take coupon into account.](/forum/46-discount-coupon/903589-wrong-tax-doesnt-take-coupon-into-account#337629 "Hi  There seems to be a bug introduced most likely in one of the latest update. Tax is showing wrong in Base tax field. Tax there should be after discount, but it is showing before discount. Total is correct. The same info is in customer's email.  Please let me know if this is settings issue or bug. I assume is a bug as we didn't change anything.")*

Ok, that did the trick. Now is showing correctly.

Thanks Nicolas

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDM1ODktd3JvbmctdGF4LWRvZXNudC10YWtlLWNvdXBvbi1pbnRvLWFjY291bnQ/dG1wbD1tYXJrZG93bg==) 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.204 seconds

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

[](#top)
