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

#   Discount codes and multiple tax rates

##

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

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 2 weeks ago [\#175204](#175204) by [yannickv](/forum/user/28156-yannickv "View yannickv's Profile")  *[Discount codes and multiple tax rates](/forum/40-taxes/872249-discount-codes-and-multiple-tax-rates#175204 "-- url of the page with the problem -- :   www.kvcv.be  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Chrome 37  On our webshop we have discount codes and will now introduces multiple tax rates (default 21%, reduced tax of 6% for books). I just can't figure out how to implement the discount codes in combination with the different tax rates.  I'm using these settings: &#42; Apply discounts: before taxes &#42; Product tax category set for coupon code: none  Now the problem is that on the cart confirmation page, some numbers are not right. The discount is calculated correctly from the total amount (excl. TAX). But for every TAX category, the subtotal is reduced by the full reduction, instead of reducing each amount by the discount of 20%. As a result, the displayed TAX amounts for 6% and 21% are wrong.  What I want to achieve is: &#42; get a reduction of 20% for each subtotal for each tax category &#42; calculate the VAT based on this reduced number &#42; sum these numbers up to make the total")* was created by *[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")*

-- url of the page with the problem -- : [ www.kvcv.be](http://www.kvcv.be)
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.4.30
-- Browser(s) name and version -- : Chrome 37

On our webshop we have discount codes and will now introduces multiple tax rates (default 21%, reduced tax of 6% for books). I just can't figure out how to implement the discount codes in combination with the different tax rates.

I'm using these settings:
* Apply discounts: before taxes
* Product tax category set for coupon code: none

Now the problem is that on the cart confirmation page, some numbers are not right. The discount is calculated correctly from the total amount (excl. TAX). But for every TAX category, the subtotal is reduced by the full reduction, instead of reducing each amount by the discount of 20%. As a result, the displayed TAX amounts for 6% and 21% are wrong.

What I want to achieve is:
* get a reduction of 20% for each subtotal for each tax category
* calculate the VAT based on this reduced number
* sum these numbers up to make the total

[ ![Screen&#95;Shot&#95;2014-10-11&#95;at&#95;08&#95;24&#95;57.png](/forum/attachment/20083) ](/forum/attachment/20083 "...t&#95;08&#95;24&#95;57.png")

- [ ![Screen&#95;Shot&#95;2014-10-11&#95;at&#95;08&#95;24&#95;57.png](/forum/attachment/20083) ](/forum/attachment/20083 "...t&#95;08&#95;24&#95;57.png") [ ](/forum/attachment/20083?download=1 "...t&#95;08&#95;24&#95;57.png")

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

Less More

- Posts: 86315
- Thank you received: 14274
-
-

12 years 2 weeks ago [\#175207](#175207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount codes and multiple tax rates](/forum/40-taxes/872249-discount-codes-and-multiple-tax-rates#175207 "-- url of the page with the problem -- :   www.kvcv.be  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Chrome 37  On our webshop we have discount codes and will now introduces multiple tax rates (default 21%, reduced tax of 6% for books). I just can't figure out how to implement the discount codes in combination with the different tax rates.  I'm using these settings: &#42; Apply discounts: before taxes &#42; Product tax category set for coupon code: none  Now the problem is that on the cart confirmation page, some numbers are not right. The discount is calculated correctly from the total amount (excl. TAX). But for every TAX category, the subtotal is reduced by the full reduction, instead of reducing each amount by the discount of 20%. As a result, the displayed TAX amounts for 6% and 21% are wrong.  What I want to achieve is: &#42; get a reduction of 20% for each subtotal for each tax category &#42; calculate the VAT based on this reduced number &#42; sum these numbers up to make the total")*

Hi,

So from what I understand your discount is actually a coupon type not a discount type.

There is no system at the moment in HikaShop to apply the coupon to both tax compounds at the same time. You can select a tax category in the coupon so that it applies to one of them, but not to both.

What I would recommend in your case is to contact AWOCoupon Pro ( [ awodev.com/products/joomla/awocoupon](http://awodev.com/products/joomla/awocoupon) ), which integrates with HikaShop to provide a more advanced coupon system and ask them if their system can support compounded taxes.

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

12 years 2 weeks ago [\#175264](#175264) by [yannickv](/forum/user/28156-yannickv "View yannickv's Profile")  Replied by *[yannickv](/forum/user/28156-yannickv "View yannickv's Profile")* on topic *[Discount codes and multiple tax rates](/forum/40-taxes/872249-discount-codes-and-multiple-tax-rates#175264 "-- url of the page with the problem -- :   www.kvcv.be  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Chrome 37  On our webshop we have discount codes and will now introduces multiple tax rates (default 21%, reduced tax of 6% for books). I just can't figure out how to implement the discount codes in combination with the different tax rates.  I'm using these settings: &#42; Apply discounts: before taxes &#42; Product tax category set for coupon code: none  Now the problem is that on the cart confirmation page, some numbers are not right. The discount is calculated correctly from the total amount (excl. TAX). But for every TAX category, the subtotal is reduced by the full reduction, instead of reducing each amount by the discount of 20%. As a result, the displayed TAX amounts for 6% and 21% are wrong.  What I want to achieve is: &#42; get a reduction of 20% for each subtotal for each tax category &#42; calculate the VAT based on this reduced number &#42; sum these numbers up to make the total")*

Thanks for your feedback.

Indeed I'm using coupons, sorry for the confusion.

I will contact AWOCoupon Pro to check whether that fits our needs.

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

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

[](#top)
