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

#   Discount not on VAT?

##

- **[Remko](/forum/user/7328-remko "View Remko's Profile")**
- [![Remko's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7328.jpg)](/forum/user/7328-remko "View Remko's Profile") Topic Author
- [ Offline](/forum/user/7328-remko)
- Like HikaShop very much

Less More

- Posts: 46
- Thank you received: 0
-
-
-
- [](http://www.edsmusic.nl/)
-

14 years 5 months ago -  14 years 5 months ago [\#49164](#49164) by [Remko](/forum/user/7328-remko "View Remko's Profile")  *[Discount not on VAT?](/forum/3-bug-report/49164-discount-not-on-vat#49164 "Hi, I'm using HikaShop Essential. When I create a coupon discount of 50% and sell 2 products of € 5,=. The price without discount is € 10,=. But when I use the couponcode the price is not € 5,= because the discount is not calculated over the tax.  Example: In the Netherlands we have 19% VAT. Price incl. VAT: € 5,= (€ 4,20 excl. VAT) Buying two of these products with 50% discount, must result in&quot; € 4,20 € 4,20 € 8,40 € 1,60 VAT € 10,00 total € 5,00 -/- (50 % discount) € 5,00 total price of this order.  But when I use this couponcode the endprice is now € 5,80! (that is € 4,20 + € 1,60)  So in this exemple the discount is calculated over the price excl. VAT, while the VAT is still calculated over the price without the discount. That is not how it should be. ---- I also like to display al the prices in the cart incl. VAT. I've read this:   www.hikashop.com/en/forum/4-how-to/38735...uded-vat-prices.html  And this:   www.hikashop.com/en/forum/4-how-to/28960...-with-tax.html#28986  I added $this-&gt;params-&gt;set('price&#95;with&#95;tax',1); after the first Views but nothing changes.  Can you please help me with these issues.")* was created by *[Remko](/forum/user/7328-remko "View Remko's Profile")*

Hi,
I'm using HikaShop Essential. When I create a coupon discount of 50% and sell 2 products of € 5,=. The price without discount is € 10,=. But when I use the couponcode the price is not € 5,= because the discount is not calculated over the tax.

Example:
In the Netherlands we have 19% VAT.
Price incl. VAT: € 5,= (€ 4,20 excl. VAT)
Buying two of these products with 50% discount, must result in"
€ 4,20
€ 4,20
€ 8,40
€ 1,60 VAT
€ 10,00 total
€ 5,00 -/- (50 % discount)
**€ 5,00** total price of this order.

But when I use this couponcode the endprice is now € 5,80! (that is € 4,20 + € 1,60)

So in this exemple the discount is calculated over the price excl. VAT, while the VAT is still calculated over the price without the discount. That is not how it should be.
----
I also like to display al the prices in the cart incl. VAT.
I've read this:
[ www.hikashop.com/en/forum/4-how-to/38735...uded-vat-prices.html](http://www.hikashop.com/en/forum/4-how-to/38735-customise-cart-with-included-vat-prices.html)
And this:
[ www.hikashop.com/en/forum/4-how-to/28960...-with-tax.html#28986](http://www.hikashop.com/en/forum/4-how-to/28960-display-price-with-tax.html#28986)

I added $this-&gt;params-&gt;set('price_with_tax',1);
after the first &lt;?php tag of the file "step" of the view "checkout" that you can edit via the menu Display-&gt;Views
but nothing changes.

Can you please help me with these issues.

Last edit: 14 years 5 months ago by [Remko](/forum/user/7328-remko "View Remko's Profile").

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

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

Less More

- Posts: 86320
- Thank you received: 14277
-
-

14 years 5 months ago [\#49257](#49257) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Discount not on VAT?](/forum/3-bug-report/49164-discount-not-on-vat#49257 "Hi, I'm using HikaShop Essential. When I create a coupon discount of 50% and sell 2 products of € 5,=. The price without discount is € 10,=. But when I use the couponcode the price is not € 5,= because the discount is not calculated over the tax.  Example: In the Netherlands we have 19% VAT. Price incl. VAT: € 5,= (€ 4,20 excl. VAT) Buying two of these products with 50% discount, must result in&quot; € 4,20 € 4,20 € 8,40 € 1,60 VAT € 10,00 total € 5,00 -/- (50 % discount) € 5,00 total price of this order.  But when I use this couponcode the endprice is now € 5,80! (that is € 4,20 + € 1,60)  So in this exemple the discount is calculated over the price excl. VAT, while the VAT is still calculated over the price without the discount. That is not how it should be. ---- I also like to display al the prices in the cart incl. VAT. I've read this:   www.hikashop.com/en/forum/4-how-to/38735...uded-vat-prices.html  And this:   www.hikashop.com/en/forum/4-how-to/28960...-with-tax.html#28986  I added $this-&gt;params-&gt;set('price&#95;with&#95;tax',1); after the first Views but nothing changes.  Can you please help me with these issues.")*

Hi,

1. You should try to change the option "apply discount" in the main tab of the configuration of HikaShop.

2. Note that this view file is for the cart during the checkout, not the cart module. For the cart module, it's the file "cart" of the view "product". Also, make sure that you edit it for your front end template and not another template.

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

- **[Remko](/forum/user/7328-remko "View Remko's Profile")**
- [![Remko's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7328.jpg)](/forum/user/7328-remko "View Remko's Profile") Topic Author
- [ Offline](/forum/user/7328-remko)
- Like HikaShop very much

Less More

- Posts: 46
- Thank you received: 0
-
-
-
- [](http://www.edsmusic.nl/)
-

14 years 5 months ago [\#49349](#49349) by [Remko](/forum/user/7328-remko "View Remko's Profile")  Replied by *[Remko](/forum/user/7328-remko "View Remko's Profile")* on topic *[Re: Discount not on VAT?](/forum/3-bug-report/49164-discount-not-on-vat#49349 "Hi, I'm using HikaShop Essential. When I create a coupon discount of 50% and sell 2 products of € 5,=. The price without discount is € 10,=. But when I use the couponcode the price is not € 5,= because the discount is not calculated over the tax.  Example: In the Netherlands we have 19% VAT. Price incl. VAT: € 5,= (€ 4,20 excl. VAT) Buying two of these products with 50% discount, must result in&quot; € 4,20 € 4,20 € 8,40 € 1,60 VAT € 10,00 total € 5,00 -/- (50 % discount) € 5,00 total price of this order.  But when I use this couponcode the endprice is now € 5,80! (that is € 4,20 + € 1,60)  So in this exemple the discount is calculated over the price excl. VAT, while the VAT is still calculated over the price without the discount. That is not how it should be. ---- I also like to display al the prices in the cart incl. VAT. I've read this:   www.hikashop.com/en/forum/4-how-to/38735...uded-vat-prices.html  And this:   www.hikashop.com/en/forum/4-how-to/28960...-with-tax.html#28986  I added $this-&gt;params-&gt;set('price&#95;with&#95;tax',1); after the first Views but nothing changes.  Can you please help me with these issues.")*

Hi Nicolas,

1. The option "apply discount" was the right solution for the discount and VAT issue. Thanks a lot!

2. For the prices incl. VAT in the cart, I made changes in the file "cart" for the front end. But maybe I have to try it again. I let you know if it works or not....

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

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

[](#top)
