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

#   Coupon calculation with floating taxes

##

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

Less More

- Posts: 137
- Thank you received: 2
-
-

11 years 6 days ago -  11 years 6 days ago [\#221333](#221333) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#221333 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")* was created by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")*

-- url of the page with the problem -- : Closed dev server
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.3.6

Hi,

We are using the *floating tax* feature with multiple VAT rates (we sell products with electronic delivery).

When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.

In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the *Including VAT* amount displayed is calculated based on the Total.

I have attached a screenshot of the checkout, as well as our Taxes settings.

Can you reproduce that problem on your end, or is there something that can be configured differently?

- [ ![checkout.png](/forum/attachment/27846) ](/forum/attachment/27846 "checkout.png") [ ](/forum/attachment/27846?download=1 "checkout.png")
- [ ![taxes&#95;settings.png](/forum/attachment/27847) ](/forum/attachment/27847 "...s&#95;settings.png") [ ](/forum/attachment/27847?download=1 "...s&#95;settings.png")

Last edit: 11 years 6 days ago by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile"). Reason: typos

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84ODA1OTgtY291cG9uLWNhbGN1bGF0aW9uLXdpdGgtZmxvYXRpbmctdGF4ZXM/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

11 years 6 days ago [\#221340](#221340) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#221340 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hi,

You have the "apply discount" setting that you can change in order to change the behavior of the coupon tax calculation but you also have the "product tax category" setting of the coupon itself.
So I would recommend to try the different combinations so that it works like you want.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

11 years 4 days ago -  11 years 4 days ago [\#221587](#221587) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#221587 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Turning on the "Show detailed taxes" taxes seems to have solved it for flat discounts somehow.
However, I noticed that the "Apply discount before/after taxes" has no effect whatsoever on the VAT amount though. So right now the shown calculations are correct, but it seems that something is not working as exepcted with floating taxes and discounts.

If the coupon is set to percentage, I can't get it to calculate the correct anounts. Changing the "Tax" option for the coupon has no effect.
[ ![percentage&#95;discount&#95;hika.png](/forum/attachment/27887) ](/forum/attachment/27887 "...count&#95;hika.png")

[ ![coupon50&#95;hika.png](/forum/attachment/27888) ](/forum/attachment/27888 "coupon50&#95;hika.png")

Is this something you (or other users) can reproduce? We get the same results both on our developer install and on the production site.

- [ ![percentage&#95;discount&#95;hika.png](/forum/attachment/27887) ](/forum/attachment/27887 "...count&#95;hika.png") [ ](/forum/attachment/27887?download=1 "...count&#95;hika.png")
- [ ![coupon50&#95;hika.png](/forum/attachment/27888) ](/forum/attachment/27888 "coupon50&#95;hika.png") [ ](/forum/attachment/27888?download=1 "coupon50&#95;hika.png")

Last edit: 11 years 4 days ago by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

10 years 9 months ago [\#229560](#229560) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#229560 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hi again,

We're still not able to make a coupon that does what it says, so the feature is pretty useless for us (and our customers) at the moment. We have tried all combinations of options possible, Hikashop always calculates a wrong discount. I am a bit afraid that coupons don't work correctly with floating taxes. Have you had the possibility to test this out at all?

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 8 months ago [\#264286](#264286) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264286 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

We still cannot use coupon codes at all! - customers get angry when a 50% coupon only gives them 40% discount - they think we try to cheat.

It is really frustrating that after 15 months you have still not solved this problem. We just upgraded to Hikashop 3.0.1 with the hope that you had solved the problem - unfortunately not.

Example: a €8 product with 25% tax is €10. When I apply a 50% discount (after tax) the final price becomes €6, which is NOT 50% off €10. (looks like it calculated the discount before tax even when I specify it to be after tax).
The central point in this problem is that the advertised price is €10, which is the one the customer cares about. With a 50% coupon in hand, he expect the final price to be €5, but instead it become €6 and he thinks we are cheating.

Please take this problem serious and solve it!

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 8 months ago -  9 years 8 months ago [\#264348](#264348) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264348 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,

Can you provide your **coupon** &amp; **tax config** screenshot ?
Provide an **Url link** with user references (if needed) to process some tests, in order to better understand what's going on.

**Note :** Use our [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form to provide important references, and don't forget to add an **Url link** to this topic in your message.
Awaiting news from you.

Regards

Last edit: 9 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 8 months ago [\#264360](#264360) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264360 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Thank you. We have made an example of the error with a 50% coupon in Hikashop 3.0.1

Product settings:
[ ![productsettings.png](/forum/attachment/36878) ](/forum/attachment/36878 "...ctsettings.png")

VAT config:
[ ![VATprefs.png](/forum/attachment/36875) ](/forum/attachment/36875 "VATprefs.png")

Cart without coupon:
[ ![nocouponcart.png](/forum/attachment/36877) ](/forum/attachment/36877 "nocouponcart.png")

Cart with 50% coupon:
[ ![coupon50cart.png](/forum/attachment/36874) ](/forum/attachment/36874 "coupon50cart.png")

50% coupon settings:
[ ![coupon50settings.png](/forum/attachment/36876) ](/forum/attachment/36876 "...50settings.png")

The coupon value should be 5€ (50% of 10€), not 4,17€. Also the total price should be 5€, not 5,83€.
Somehow, the 20% VAT result (0.83€) seems to be correct, and corresponds to the VAT for the correct values that should have been displayed.

I will contact you via the contact form about URL.

- [ ![coupon50cart.png](/forum/attachment/36874) ](/forum/attachment/36874 "coupon50cart.png") [ ](/forum/attachment/36874?download=1 "coupon50cart.png")
- [ ![VATprefs.png](/forum/attachment/36875) ](/forum/attachment/36875 "VATprefs.png") [ ](/forum/attachment/36875?download=1 "VATprefs.png")
- [ ![coupon50settings.png](/forum/attachment/36876) ](/forum/attachment/36876 "...50settings.png") [ ](/forum/attachment/36876?download=1 "...50settings.png")
- [ ![nocouponcart.png](/forum/attachment/36877) ](/forum/attachment/36877 "nocouponcart.png") [ ](/forum/attachment/36877?download=1 "nocouponcart.png")
- [ ![productsettings.png](/forum/attachment/36878) ](/forum/attachment/36878 "...ctsettings.png") [ ](/forum/attachment/36878?download=1 "...ctsettings.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 8 months ago -  9 years 8 months ago [\#264392](#264392) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264392 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,

For a reason or another I'm not sure your're not on an HikaShop 3.0.1... Plus, you have to know that the latest build have some fix around this tax subject.

[ ![HikaVers2.png](/forum/attachment/36886) ](/forum/attachment/36886 "HikaVers2.png")

Can you try to update again and check in **Components** =&gt; **HikaSHop** =&gt; **Configuration**, and in **Main** tab and in **Main** part check the version and if needed reinstall from **zip file** and in **Extensions** =&gt; **Manage** =&gt; **Install** :

[ ![HikaVers.png](/forum/attachment/36887) ](/forum/attachment/36887 "HikaVers.png")

Awaiting news from you.

Regards

- [ ![HikaVers2.png](/forum/attachment/36886) ](/forum/attachment/36886 "HikaVers2.png") [ ](/forum/attachment/36886?download=1 "HikaVers2.png")
- [ ![HikaVers.png](/forum/attachment/36887) ](/forum/attachment/36887 "HikaVers.png") [ ](/forum/attachment/36887?download=1 "HikaVers.png")

Last edit: 9 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 8 months ago -  9 years 8 months ago [\#264439](#264439) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264439 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Sorry, forget about the link you got by email, it was a mistake. It's our production site, and yes, it runs 2.6.4.
The problem is in 3.0.1. The screenshots we posted are from our internal developer site, and it runs 3.0.1.
Check the last screenshot, it has the version number at the bottom. The problem is identical in both versions.

Our developer server is not accessible from outside at the moment. Would it be possible for you to reproduce the problem on your end by selecting the same VAT and coupon options as those in our screenshots?

Last edit: 9 years 8 months ago by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 8 months ago -  9 years 8 months ago [\#264469](#264469) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264469 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,

I reproduce and don't haven't same results, as you can see :

[ ![DiscTax.png](/forum/attachment/36898) ](/forum/attachment/36898 "DiscTax.png")

That may be a good news, I test it with **last** build of HikaShop, and so can you try to **re-updated again** to see if that solve your issue, please ?
Awaiting news from you.

Regards

- [ ![DiscTax.png](/forum/attachment/36898) ](/forum/attachment/36898 "DiscTax.png") [ ](/forum/attachment/36898?download=1 "DiscTax.png")

Last edit: 9 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 8 months ago [\#264537](#264537) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264537 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Thank you for testing this. We already have 3.0.1, it's the newest build.
Coupons do work with floating taxes turned OFF. The problem is only with floating taxes turned ON.

In your screenshot, have you turned "Floating Tax" ON in the configuration?

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 8 months ago -  9 years 8 months ago [\#264575](#264575) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264575 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,

Strange, maybe there is someting we can do that can solve your issue and **will work with your specific configuration**...
Can you try to modify your **currency.php** (in file YourWebsite\administrator\components\com_hikashop\classes)

Go around line **2315**, find this part : Code:

... $discount-&gt;discount_percent_amount_calculated = $price-&gt;price_value_with_tax * $discount-&gt;discount_percent_amount_calculated_without_tax / $price-&gt;price_value_with_tax; } else { if(!$floating_tax) $price_value = $price-&gt;price_value_with_tax; else $price_value = $price-&gt;price_value; $discount-&gt;discount_value_without_tax = ...

And replace it by this : Code:

... $discount-&gt;discount_percent_amount_calculated = $price-&gt;price_value_with_tax * $discount-&gt;discount_percent_amount_calculated_without_tax / $price-&gt;price_value_with_tax; } else { //if(!$floating_tax) $price_value = $price-&gt;price_value_with_tax; //else // $price_value = $price-&gt;price_value; $discount-&gt;discount_value_without_tax = ...

Note that I'd just add '//' in order to comment (or switch off) some php orders on **3** line.
See modification with color :
[ ![currencyCust.png](/forum/attachment/36916) ](/forum/attachment/36916 "currencyCust.png")

Awaiting news from you to see if that fit your needs.

Regards

- [ ![currencyCust.png](/forum/attachment/36916) ](/forum/attachment/36916 "currencyCust.png") [ ](/forum/attachment/36916?download=1 "currencyCust.png")

Last edit: 9 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 8 months ago [\#264636](#264636) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264636 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Thank you for the suggestion, we will try that and let you know the results asap.

You imply that we have a special configuration and special needs? - but we only turned floating tax on, and then coupons doesn't work.
Did it work for you with floating tax turned ON?

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 8 months ago -  9 years 8 months ago [\#264646](#264646) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264646 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,

You haven't just **Tax float**, you add **discount after taxes** this plus the fact that you want have that a real **50% discount** that impact total price **WITH** tax.
I understand that can be needed, but all this parameters leads together to a very specific case.
Awaiting news from you when you have proceed some tests.

Regards

Last edit: 9 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

9 years 8 months ago [\#264988](#264988) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#264988 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Thank you for your answer.
Your previous quickfix hack works and it looks like it will make us running for now.
But **please solve this bug in a permanent way** so we don't need to make hacks every time we update hikashop and so that others can use the floating tax option too.

Our setup is not so special as you claim. There is no setting that will make coupons work with floating tax!
**It doesn't matter if we use discounts before or after tax**. The calculation is wrong in both situations.
Example: If we have an item at €8 + €2 tax = €10 including tax. (25% tax)
This is how it should be:
With "discount before tax": 50% * €8 = €4, and after adding 25% tax the final price should be €5, but not in Hikashop
With "discount after tax": 50% * €10 = €5 including tax, but not in Hikashop

The reason to turn on floating tax is that user should see and think prices "including tax".
With a 50% discount coupon the user expects to get 50% off the price he see.

Please solve this bug.

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

- **[carniel](/forum/user/39404-carniel "View carniel's Profile")**
- [![carniel's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/39404-carniel "View carniel's Profile")
- [ Offline](/forum/user/39404-carniel)

Less More

- Posts: 27
- Thank you received: 1
-
-
-

7 years 7 months ago [\#305594](#305594) by [carniel](/forum/user/39404-carniel "View carniel's Profile")  Replied by *[carniel](/forum/user/39404-carniel "View carniel's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#305594 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,
any update on this issue?
It's still the same with Hikashop 3.5.1
I use: floating tax prices = yes
Apply coupons : before taxes
But it still calculates the tax with the original price, then uses the discount and the customer sees the wrong tax.
Example:
185,-
includes 20% tax: 30,83
net : 154,16

With discount:
185,- full price
-37,- discount

---

148,- price
tax: should be 24,66 now- but is still 30,83 like before.

---

There are no kangaroos in Austria! ![;-)](/media/kunena/emoticons/24.png ";-)")

- [ ![Screenshot2019-04-07at20.07.55.png](/forum/attachment/46568) ](/forum/attachment/46568 "...at20.07.55.png") [ ](/forum/attachment/46568?download=1 "...at20.07.55.png")
- [ ![Screenshot2019-04-07at20.08.19.png](/forum/attachment/46569) ](/forum/attachment/46569 "...at20.08.19.png") [ ](/forum/attachment/46569?download=1 "...at20.08.19.png")
- [ ![Screenshot2019-04-07at20.07.26.png](/forum/attachment/46570) ](/forum/attachment/46570 "...at20.07.26.png") [ ](/forum/attachment/46570?download=1 "...at20.07.26.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84ODA1OTgtY291cG9uLWNhbGN1bGF0aW9uLXdpdGgtZmxvYXRpbmctdGF4ZXM/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

7 years 7 months ago [\#305611](#305611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#305611 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hi,

We added patchs to the tax calculations with the "floating tax prices" setting activated in HikaShop 4.0.0:
[ www.hikashop.com/support/documentation/5...ashop-changelog.html](https://www.hikashop.com/support/documentation/56-hikashop-changelog.html)

> We've fixed taxes calculations with coupons using the "Floating tax prices" option.

So I would first recommend you to update to the latest version of HikaShop. It should work much better.

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

- **[carniel](/forum/user/39404-carniel "View carniel's Profile")**
- [![carniel's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/39404-carniel "View carniel's Profile")
- [ Offline](/forum/user/39404-carniel)

Less More

- Posts: 27
- Thank you received: 1
-
-
-

7 years 7 months ago [\#305930](#305930) by [carniel](/forum/user/39404-carniel "View carniel's Profile")  Replied by *[carniel](/forum/user/39404-carniel "View carniel's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#305930 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,
we upgraded to Hikashop 4.0.3
but it still behaves the same ...
attached a screenshot of the cart with discount
but the tax always calculates from full price
Options are: calculate discounts BEFORE taxes

Please advise ... !
Kind Regards, Eva

---

There are no kangaroos in Austria! ![;-)](/media/kunena/emoticons/24.png ";-)")

- [ ![Screenshot2019-04-19at13.14.50.png](/forum/attachment/46667) ](/forum/attachment/46667 "...at13.14.50.png") [ ](/forum/attachment/46667?download=1 "...at13.14.50.png")
- [ ![Screenshot2019-04-19at13.10.03.png](/forum/attachment/46668) ](/forum/attachment/46668 "...at13.10.03.png") [ ](/forum/attachment/46668?download=1 "...at13.10.03.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 7 months ago -  7 years 7 months ago [\#305971](#305971) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#305971 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

Hello,

Can you provide via our [ Contact us](https://www.hikashop.com/support/contact-us.html) form some **frontend**/**backend** access and the **product Url** and **coupon code** to process some tests by ourself, and don't forget to add to your message an **Url link** to this topic.

Awaiting news from you
Regards

Last edit: 7 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[carniel](/forum/user/39404-carniel "View carniel's Profile")**
- [![carniel's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/39404-carniel "View carniel's Profile")
- [ Offline](/forum/user/39404-carniel)

Less More

- Posts: 27
- Thank you received: 1
-
-
-

7 years 7 months ago [\#306025](#306025) by [carniel](/forum/user/39404-carniel "View carniel's Profile")  Replied by *[carniel](/forum/user/39404-carniel "View carniel's Profile")* on topic *[Coupon calculation with floating taxes](/forum/46-discount-coupon/880598-coupon-calculation-with-floating-taxes#306025 "-- url of the page with the problem -- : Closed dev server -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.3.6  Hi,  We are using the floating tax feature with multiple VAT rates (we sell products with electronic delivery).  When applying a coupon with a flat amount, it seems that Hikashop is calculating the VAT for both the coupon and the price incl VAT.  In my screenshot, the VAT amount (20%) should have been 381.18€, but it's displayed as 380.18€. Hikashop takes off 1€ from the VAT amount regardless of the quantity/total amount of the order, which led me to conclude that the missing 1€ is a VAT calculated from the coupon amount. Could it be so? What I would expect is that the Including VAT amount displayed is calculated based on the Total.  I have attached a screenshot of the checkout, as well as our Taxes settings.  Can you reproduce that problem on your end, or is there something that can be configured differently?")*

already sent the login information !

---

There are no kangaroos in Austria! ![;-)](/media/kunena/emoticons/24.png ";-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84ODA1OTgtY291cG9uLWNhbGN1bGF0aW9uLXdpdGgtZmxvYXRpbmctdGF4ZXM/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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.158 seconds

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