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

#   nasty problems with taxes and coupons

##

- **[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")**
- [![gpiraccini's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43774-gpiraccini "View gpiraccini's Profile") Topic Author
- [ Offline](/forum/user/43774-gpiraccini)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 2 weeks ago [\#254878](#254878) by [gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")  *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#254878 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")* was created by *[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.6.26
-- Browser(s) name and version -- : all

Dear Hika Shop,
can you please assist me in finding a solution in coupon tax calculating.
The discount value of the coupon is always calculated on the gross price independently if I set "Product tax category" or not in the Coupon configuration.
In my case I'm showing all net prices, and I would like to show also coupon discount amount as net.
This problem create errors also on the tax calculating.

\# Here what it is shown:
Subtotal 143,00 €
Coupon -59,49 € *
IVA 4 % 3,34 € *
Total 89,23 €
(the sum doesn't match 143.00-59.49+3.34=86.85)

\# Here what should correctly be:
Subtotal 143,00 €
Coupon -57,20 €
IVA 4 % 3,43 €
Total 89,23 €

You can try it yourself in this test website.
[ www.iandp.it/test/](https://www.iandp.it/test/)

Product to choose: "Grand Cru Musignano - Can 5 L"
Coupon to add: "JH40SP" (this is a 40% coupon)

If you need, I can send you in private the admin login credentials.

Thanks for your support
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ1My1uYXN0eS1wcm9ibGVtcy13aXRoLXRheGVzLWFuZC1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

10 years 2 weeks ago [\#255099](#255099) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255099 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hi,

On top of the "product tax category" setting of the coupon, you also have the "apply discount" setting of the HikaShop configuration, in order to control how the coupon values will be calculated.
So please try the different combinaisons of both options and one of them should do what you want.

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

- **[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")**
- [![gpiraccini's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43774-gpiraccini "View gpiraccini's Profile") Topic Author
- [ Offline](/forum/user/43774-gpiraccini)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 1 week ago [\#255322](#255322) by [gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")  Replied by *[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255322 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hi Nicolas,
I've tried all the four combination having always the same result.
here attached an example image.

Thanks
Greg

- [ ![example.jpg](/forum/attachment/34651) ](/forum/attachment/34651 "example.jpg") [ ](/forum/attachment/34651?download=1 "example.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ1My1uYXN0eS1wcm9ibGVtcy13aXRoLXRheGVzLWFuZC1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

10 years 1 week ago [\#255377](#255377) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255377 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hi,

I'm not able to reproduce the problem.
Please provide a backend access and a link to this thread via our contact form so that we can have a look at that.
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ1My1uYXN0eS1wcm9ibGVtcy13aXRoLXRheGVzLWFuZC1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) 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
-
-

10 years 1 week ago [\#255476](#255476) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255476 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hello,

For a reason or another I'm unable to add your "**product test**" to the cart...
There is no button "**add to cart**"...
Thanks to make the required change in order to able us to process some tests.

Awaiting news from you.

Regards

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

- **[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")**
- [![gpiraccini's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43774-gpiraccini "View gpiraccini's Profile") Topic Author
- [ Offline](/forum/user/43774-gpiraccini)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 1 week ago -  10 years 1 week ago [\#255494](#255494) by [gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")  Replied by *[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255494 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hi Philippe,
Notthing strange on my side, here attacched I post you the process I can do.
Can't you see the same?

[ www.iandp.it/test/en/boutique-en](https://www.iandp.it/test/en/boutique-en)

Thanks
Greg  [ ![checkout-01.jpg](/forum/attachment/34682) ](/forum/attachment/34682 "checkout-01.jpg")

[ ![checkout-02.jpg](/forum/attachment/34683) ](/forum/attachment/34683 "checkout-02.jpg")

[ ![checkout-03.jpg](/forum/attachment/34684) ](/forum/attachment/34684 "checkout-03.jpg")

[ ![checkout-04.jpg](/forum/attachment/34685) ](/forum/attachment/34685 "checkout-04.jpg")

[ ![checkout-05.jpg](/forum/attachment/34686) ](/forum/attachment/34686 "checkout-05.jpg")

- [ ![checkout-01.jpg](/forum/attachment/34682) ](/forum/attachment/34682 "checkout-01.jpg") [ ](/forum/attachment/34682?download=1 "checkout-01.jpg")
- [ ![checkout-02.jpg](/forum/attachment/34683) ](/forum/attachment/34683 "checkout-02.jpg") [ ](/forum/attachment/34683?download=1 "checkout-02.jpg")
- [ ![checkout-03.jpg](/forum/attachment/34684) ](/forum/attachment/34684 "checkout-03.jpg") [ ](/forum/attachment/34684?download=1 "checkout-03.jpg")
- [ ![checkout-04.jpg](/forum/attachment/34685) ](/forum/attachment/34685 "checkout-04.jpg") [ ](/forum/attachment/34685?download=1 "checkout-04.jpg")
- [ ![checkout-05.jpg](/forum/attachment/34686) ](/forum/attachment/34686 "checkout-05.jpg") [ ](/forum/attachment/34686?download=1 "checkout-05.jpg")

Last edit: 10 years 1 week ago by [gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ1My1uYXN0eS1wcm9ibGVtcy13aXRoLXRheGVzLWFuZC1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) 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
-
-

10 years 1 week ago -  10 years 1 week ago [\#255756](#255756) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255756 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hello,

I just have a look on your configuration, and I get it, you don't link your **coupon** with your **tax** applied on this product.
And so, I you want to get the tax really applied **AFTER** the discount reproduce this configuration in your Coupon configuration :

[ ![taxcoupon.png](/forum/attachment/34733) ](/forum/attachment/34733 "taxcoupon.png")

The **44%** in order to avoid to reduce your discount with the tax add to your Coupn
Hope this will help you.

Regards

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

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

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

- **[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")**
- [![gpiraccini's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43774-gpiraccini "View gpiraccini's Profile") Topic Author
- [ Offline](/forum/user/43774-gpiraccini)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 1 week ago [\#255778](#255778) by [gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")  Replied by *[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255778 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hi Philippe,
I've tried your solution, to reach the correct discount and VAT I had to use a percentage of 38.462% (40% / 1.04 VAT). But still the Total doesn't match. (please see attachment)
This happen either if i set Discount TAX calculation Before or After taxes.

Sorry for this, but I think that the discount percentage shouldn't be modify, this because the discount should be applied to the Subtotal indipendently if it is Gross or Net. It is a percentage so this shouldn't create any arithmetical problem.

Thanks
Greg

- [ ![checkout-n1.jpg](/forum/attachment/34734) ](/forum/attachment/34734 "checkout-n1.jpg") [ ](/forum/attachment/34734?download=1 "checkout-n1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NzQ1My1uYXN0eS1wcm9ibGVtcy13aXRoLXRheGVzLWFuZC1jb3Vwb25zP3RtcGw9bWFya2Rvd24=) 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
-
-

10 years 1 week ago -  10 years 1 week ago [\#255839](#255839) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255839 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hello,

I spent time on your cart and tax configuration, and the calcuation is **right**, it's the display which **is wrong**!
You choose in **Configuation Main** in "**of which VAT**" to don't display product price **WITH** tax **BUT** of course total price is **WITH** taxes and so that can't be logical with a quick view.

I set this :

[ ![displaytaxedproduct.png](/forum/attachment/34744) ](/forum/attachment/34744 "...xedproduct.png")

And as result I get this :

[ ![totalcartview.png](/forum/attachment/34745) ](/forum/attachment/34745 "totalcartview.png")

Maybe the way tax is displayed can seems wrong, maybe add an little message like "**with**" or "**include**" can be more clear.
Make an override view in the **checkout - cart.php**

Hope that will help you to have what your want.

Regards

- [ ![displaytaxedproduct.png](/forum/attachment/34744) ](/forum/attachment/34744 "...xedproduct.png") [ ](/forum/attachment/34744?download=1 "...xedproduct.png")
- [ ![totalcartview.png](/forum/attachment/34745) ](/forum/attachment/34745 "totalcartview.png") [ ](/forum/attachment/34745?download=1 "totalcartview.png")

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

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

- **[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")**
- [![gpiraccini's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43774-gpiraccini "View gpiraccini's Profile") Topic Author
- [ Offline](/forum/user/43774-gpiraccini)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 1 week ago [\#255858](#255858) by [gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")  Replied by *[gpiraccini](/forum/user/43774-gpiraccini "View gpiraccini's Profile")* on topic *[nasty problems with taxes and coupons](/forum/27-checkout/887453-nasty-problems-with-taxes-and-coupons#255858 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : all  Dear Hika Shop, can you please assist me in finding a solution in coupon tax calculating. The discount value of the coupon is always calculated on the gross price independently if I set &quot;Product tax category&quot; or not in the Coupon configuration. In my case I'm showing all net prices, and I would like to show also coupon discount amount as net. This problem create errors also on the tax calculating.  # Here what it is shown: Subtotal 143,00 € Coupon -59,49 € &#42; IVA 4 % 3,34 € &#42; Total 89,23 € (the sum doesn't match 143.00-59.49+3.34=86.85)  # Here what should correctly be: Subtotal 143,00 € Coupon -57,20 € IVA 4 % 3,43 € Total 89,23 €  You can try it yourself in this test website.   www.iandp.it/test/  Product to choose: &quot;Grand Cru Musignano - Can 5 L&quot; Coupon to add: &quot;JH40SP&quot; (this is a 40% coupon)  If you need, I can send you in private the admin login credentials.  Thanks for your support Greg")*

Hi Philippe,
I'm sorry you get it wrong, this was not my intent.
The one you exposed is the actual method we are using in the live environment. We have also modified the VAT description (di cui IVA 4%) = (of witch VAT 4%). But this is not what the client is asking.

I don't know in other countries but in Italy commercial invoice are all done as follow:
List of Products (excluded VAT)
Subtotal (excluded VAT)
Discount (on Subtotal)
VAT 4% (on sum of all 4% products * (1-discount %))
VAT 22% (on sum of all 22% products * (1-discount %))
Total (sum Subtotal-Discount+VAT 4%+VAT 22%)

So this look normal to me, and this is way I was asking for a check on this.

Now I understand there is no way to reach that goal. I've take a quick view of your code and I understand it is too much structurated to make a simple override for this situation.

Thanks for your time
Greg

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

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