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

#   Apply Coupon Code To Subtotal NOT GRAND TOTAL

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 8 months ago [\#6642](#6642) by [jbu2010](/forum/user/959-jbu2010 "View jbu2010's Profile")  *[Apply Coupon Code To Subtotal NOT GRAND TOTAL](/forum/4-how-to/6642-apply-coupon-code-to-subtotal-not-grand-total#6642 "Some of my customers are tax exempt. So once they provide proof that they are exempt, I want to give them a coupon code to use to take off the tax from the order.  Right now, I have a coupon setup with the percentage of 8.25% (same as the tax that is being charged). But the cart is calculating the total from the subtotal (total price + tax amount). When the coupon needs to be calculated BEFORE the tax amount is added.  HELP!!")* was created by *[jbu2010](/forum/user/959-jbu2010 "View jbu2010's Profile")*

Some of my customers are tax exempt. So once they provide proof that they are exempt, I want to give them a coupon code to use to take off the tax from the order.

Right now, I have a coupon setup with the percentage of 8.25% (same as the tax that is being charged). But the cart is calculating the total from the subtotal (total price + tax amount). When the coupon needs to be calculated BEFORE the tax amount is added.

HELP!!

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

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

Less More

- Posts: 79
- Thank you received: 0
-
-

15 years 8 months ago [\#6645](#6645) by [JWeb5](/forum/user/745-jweb5 "View JWeb5's Profile")  Replied by *[JWeb5](/forum/user/745-jweb5 "View JWeb5's Profile")* on topic *[Re: Apply Coupon Code To Subtotal NOT GRAND TOTAL](/forum/4-how-to/6642-apply-coupon-code-to-subtotal-not-grand-total#6645 "Some of my customers are tax exempt. So once they provide proof that they are exempt, I want to give them a coupon code to use to take off the tax from the order.  Right now, I have a coupon setup with the percentage of 8.25% (same as the tax that is being charged). But the cart is calculating the total from the subtotal (total price + tax amount). When the coupon needs to be calculated BEFORE the tax amount is added.  HELP!!")*

There is an option in config to apply discount before or after tax

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

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

Less More

- Posts: 79
- Thank you received: 0
-
-

15 years 8 months ago [\#6647](#6647) by [JWeb5](/forum/user/745-jweb5 "View JWeb5's Profile")  Replied by *[JWeb5](/forum/user/745-jweb5 "View JWeb5's Profile")* on topic *[Re: Apply Coupon Code To Subtotal NOT GRAND TOTAL](/forum/4-how-to/6642-apply-coupon-code-to-subtotal-not-grand-total#6647 "Some of my customers are tax exempt. So once they provide proof that they are exempt, I want to give them a coupon code to use to take off the tax from the order.  Right now, I have a coupon setup with the percentage of 8.25% (same as the tax that is being charged). But the cart is calculating the total from the subtotal (total price + tax amount). When the coupon needs to be calculated BEFORE the tax amount is added.  HELP!!")*

system-&gt; config-&gt;main tab on the left pane

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 8 months ago [\#6649](#6649) by [jbu2010](/forum/user/959-jbu2010 "View jbu2010's Profile")  Replied by *[jbu2010](/forum/user/959-jbu2010 "View jbu2010's Profile")* on topic *[Re: Apply Coupon Code To Subtotal NOT GRAND TOTAL](/forum/4-how-to/6642-apply-coupon-code-to-subtotal-not-grand-total#6649 "Some of my customers are tax exempt. So once they provide proof that they are exempt, I want to give them a coupon code to use to take off the tax from the order.  Right now, I have a coupon setup with the percentage of 8.25% (same as the tax that is being charged). But the cart is calculating the total from the subtotal (total price + tax amount). When the coupon needs to be calculated BEFORE the tax amount is added.  HELP!!")*

Thank you for the feedback. I've tried both options in the configuration and did some testing after changing each option. The calculation is still not correct. Any other ideas?

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

15 years 8 months ago [\#6664](#6664) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Apply Coupon Code To Subtotal NOT GRAND TOTAL](/forum/4-how-to/6642-apply-coupon-code-to-subtotal-not-grand-total#6664 "Some of my customers are tax exempt. So once they provide proof that they are exempt, I want to give them a coupon code to use to take off the tax from the order.  Right now, I have a coupon setup with the percentage of 8.25% (same as the tax that is being charged). But the cart is calculating the total from the subtotal (total price + tax amount). When the coupon needs to be calculated BEFORE the tax amount is added.  HELP!!")*

Coupons in hikashop are always used on the taxed price.
The discount before/after tax option is only for discounts.
One solution would be to create a discount and restrict it to a group of joomla users using the access level feature of hikashop business. Then, you could move that user to that group of users so that the discount is automatically applied to your products prices.

Another option could be this:
Edit your tax rule so that it apply only to individuals. Then, in the config make sure that the default user type is individual.
Finally, in Display-&gt;Custom file, publish the file address_company, remove it from the front end, and change its type to be a radio button.
That way, you could ask your users to register to our website via the hikashop registration screen so that they enter their company address (or you could do it for them), and on your end, you would be able to activate their address as being a company address. That way, the tax will automatically calculated to remove the VAT on the checkout, once they select their address.

The following user(s) said Thank You: [dilum\_tharaka](/forum/user/37297-dilum-tharaka "View dilum&#95;tharaka's Profile")

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