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

#   Discount applied without TAX but set to with TAX

##

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

Less More

- Posts: 44
- Thank you received: 2
-
-

12 years 2 weeks ago -  12 years 2 weeks ago [\#178327](#178327) by [praes](/forum/user/5655-praes "View praes's Profile")  *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#178327 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")* was created by *[praes](/forum/user/5655-praes "View praes's Profile")*

-- HikaShop version -- : HikaShop [1404122243]
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.16

Hi,

When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.

I've included two images, the first one is the coupon TAX switch set to include.
The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost.
The coupon had a 50% discount which should result in:
24.08 * 0.50 = 12.04 discount
However it calculates it like:
24.08 / 1.21 = 19.90 &gt; product without TAX
19.90 * 0.50 = 9.95 discount

Thanks,
Jasper

[ ![BTWIncl.png](/forum/attachment/20510) ](/forum/attachment/20510 "BTWIncl.png")

[ ![price.png](/forum/attachment/20511) ](/forum/attachment/20511 "price.png")

- [ ![BTWIncl.png](/forum/attachment/20510) ](/forum/attachment/20510 "BTWIncl.png") [ ](/forum/attachment/20510?download=1 "BTWIncl.png")
- [ ![price.png](/forum/attachment/20511) ](/forum/attachment/20511 "price.png") [ ](/forum/attachment/20511?download=1 "price.png")

Last edit: 12 years 2 weeks ago by [praes](/forum/user/5655-praes "View praes's Profile").

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

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

Less More

- Posts: 44
- Thank you received: 2
-
-

12 years 2 weeks ago [\#178369](#178369) by [praes](/forum/user/5655-praes "View praes's Profile")  Replied by *[praes](/forum/user/5655-praes "View praes's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#178369 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

I've been searching around and debugging the coupon code of the component.
So far I seem to have found a spot to solve my problem, however I doubt that it's the correct solution to this problem.
This is what I changed:
Line 356 and 389 in com_hikashop/classes/discount.php Code:

$coupon-&gt;discount_flat_amount += ($coupon-&gt;discount_percent_amount * $product-&gt;prices[0]-&gt;price_value_with_tax) / 100;

Instead of: Code:

$coupon-&gt;discount_flat_amount += ($coupon-&gt;discount_percent_amount * $product-&gt;prices[0]-&gt;price_value) / 100;

If there is any better way to achieve the same results, please tell.

Thanks,
Jasper

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 weeks ago [\#178373](#178373) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#178373 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi,

HikaShop [1404122243] ? You are using HikaShop 2.3.1 ?

When you create a discount coupon, you can also select a "product tax category" ; it indicate the tax for the coupon.
If the product tax category is "none", it will not have tax included, so it will provide the same result in the checkout (if you include or exclude the tax).

About your patch proposal, I will create an issue ticket in our system so we will investigate on it.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 44
- Thank you received: 2
-
-

12 years 2 weeks ago [\#178449](#178449) by [praes](/forum/user/5655-praes "View praes's Profile")  Replied by *[praes](/forum/user/5655-praes "View praes's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#178449 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Oh, no, I'm using HikaShop 2.3.0. It might've been fixed in a later update but
I'm not sure if I can safely update so for now I'll just go with the edit I made
and experiment with updating on the development server.

I've set the product tax category correct so that should work,
however it makes no difference. The tax is still excluded from the discount.

Thanks,
Jasper

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 weeks ago [\#178452](#178452) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#178452 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi,

Yes please try to update before. ![;)](/media/kunena/emoticons/24.png ";)")

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

- **[nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile")**
- [![nuevaera's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31146.png)](/forum/user/31146-nuevaera "View nuevaera's Profile")
- [ Offline](/forum/user/31146-nuevaera)

Less More

- Posts: 13
- Thank you received: 1
-
- [](http://productosnuevaera.com/)
-

12 years 1 week ago -  12 years 1 week ago [\#180185](#180185) by [nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile")  Replied by *[nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#180185 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi

I have something like this in the calculation of taxes and discounts problem. ![:(](/media/kunena/emoticons/22.png ":(")

1. I require that the discount is calculated the subtotal without tax, and resting the same before calculating the tax. ie:

Subtotal excluding VAT Bs. 52.124,82 - Coupon Bs.-18.243,00
Subtotal discount = Bs. 33.881,82
12% VAT Bs.4.065,82
Total Bs.37.947,63

and the shipping cost will be added to the grand total

Attached as I currently displayed.

2. I require to display in all, in the invoice, the cart, and the order.

Attachment image as shown.

We had already made a change to the invoice will show the subtotal before VAT, but with the discount calculation is wrong.

Help me ... Thanks. :side:

---

[ productosnuevaera.com/](http://productosnuevaera.com/)
Productos Nueva Era \| Un Mundo de Regalos Místico para ti

- [ ![error-invoice.jpg](/forum/attachment/20749) ](/forum/attachment/20749 "error-invoice.jpg") [ ](/forum/attachment/20749?download=1 "error-invoice.jpg")
- [ ![error-panel.jpg](/forum/attachment/20750) ](/forum/attachment/20750 "error-panel.jpg") [ ](/forum/attachment/20750?download=1 "error-panel.jpg")
- [ ![error-email.jpg](/forum/attachment/20751) ](/forum/attachment/20751 "error-email.jpg") [ ](/forum/attachment/20751?download=1 "error-email.jpg")

Last edit: 12 years 1 week ago by [nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3RheGVzLzg3MjgwOS1kaXNjb3VudC1hcHBsaWVkLXdpdGhvdXQtdGF4LWJ1dC1zZXQtdG8td2l0aC10YXg/dG1wbD1tYXJrZG93bg==) 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: 86584
- Thank you received: 14325
-
-

12 years 6 days ago [\#180247](#180247) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#180247 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi,

There are two settings which handles the calculation of taxes for coupons:
1. The "apply discount" setting of the HikaShop configuration.
2. The "tax category" setting of the options screen of your coupon.
So you have 4 potential combination to try. One of them should give you the result you expect.

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

- **[nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile")**
- [![nuevaera's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31146.png)](/forum/user/31146-nuevaera "View nuevaera's Profile")
- [ Offline](/forum/user/31146-nuevaera)

Less More

- Posts: 13
- Thank you received: 1
-
- [](http://productosnuevaera.com/)
-

12 years 6 days ago -  12 years 6 days ago [\#180365](#180365) by [nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile")  Replied by *[nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#180365 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi Nicolas
Thank you for your prompt reply, yes, I see the calculations good , but views I need appear the unit prices without tax, and also in the discount, and require that appears same in all views.

Thank you

---

[ productosnuevaera.com/](http://productosnuevaera.com/)
Productos Nueva Era \| Un Mundo de Regalos Místico para ti

- [ ![wrongpriceunit.jpg](/forum/attachment/20766) ](/forum/attachment/20766 "...gpriceunit.jpg") [ ](/forum/attachment/20766?download=1 "...gpriceunit.jpg")

Last edit: 12 years 6 days ago by [nuevaera](/forum/user/31146-nuevaera "View nuevaera's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3RheGVzLzg3MjgwOS1kaXNjb3VudC1hcHBsaWVkLXdpdGhvdXQtdGF4LWJ1dC1zZXQtdG8td2l0aC10YXg/dG1wbD1tYXJrZG93bg==) 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: 86584
- Thank you received: 14325
-
-

12 years 5 days ago [\#180392](#180392) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#180392 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi,

The checkout will display the prices with taxes or without based on how you configure the "taxed prices display" option of the HikaShop configuration.
The option also affect the product page and potentially the listings so that your user gets a coherent experience on your website.
So you might need to edit the cart file of the view checkout to override that setting at the beginning so that it displays the prices with tax there and the prices without taxes on the other pages.

It's strange that you don't have a coherent display of the prices of the products in the order/cart on the different areas. We tried to have something coherent and do not have such display, which would indicate that either you're using an old version of Hikashop or that you modified some of the views in some ways.

In any case, you'll likely have to edit each one to modify the display of the prices to have them like you want. That can be done via the menu Display&gt;Views and for the emails, it's via the menu System&gt;Emails.

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

- **[Bob\_M](/forum/user/4708-bob-m "View Bob&#95;M's Profile")**
- [![Bob&#95;M's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4708-bob-m "View Bob&#95;M's Profile")
- [ Offline](/forum/user/4708-bob-m)

Less More

- Posts: 1
- Thank you received: 0
-
-

12 years 1 hour ago [\#181178](#181178) by [Bob\_M](/forum/user/4708-bob-m "View Bob&#95;M's Profile")  Replied by *[Bob\_M](/forum/user/4708-bob-m "View Bob&#95;M's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#181178 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi Folks,
Joomla 3.3
HiksShop Essential 234

I have the problem that others have had that in the confirmation email it shows VAT in the total while showing GST for the tax. I have tried all of the combinations in the tax setup but it hasn't changed. How do I fix this. Also I wish to change the PAY NOW link on the email. Where do I do this?

Many thanks
[ ![HikashopEmail.png](/forum/attachment/20897) ](/forum/attachment/20897 "HikashopEmail.png")

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3RheGVzLzg3MjgwOS1kaXNjb3VudC1hcHBsaWVkLXdpdGhvdXQtdGF4LWJ1dC1zZXQtdG8td2l0aC10YXg/dG1wbD1tYXJrZG93bg==) 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: 86584
- Thank you received: 14325
-
-

11 years 11 months ago [\#181234](#181234) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount applied without TAX but set to with TAX](/forum/40-taxes/872809-discount-applied-without-tax-but-set-to-with-tax#181234 "-- HikaShop version -- : HikaShop &#91;1404122243&#93; -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.16  Hi,  When using a discount coupon, it's using the price without tax to calculate the discount. I've set the 'Apply discount' in TAX to with TAX but it doesn't seem to make any difference. The prices are noted as TAX included and the total is also TAX included.  I've included two images, the first one is the coupon TAX switch set to include. The other is the cart total, the discount (excl TAX which should be incl TAX), the shipping costs, the TAX which was applied on the cart total and shipping already and finally the total cost. The coupon had a 50% discount which should result in: 24.08 &#42; 0.50 = 12.04 discount However it calculates it like: 24.08 / 1.21 = 19.90 &gt; product without TAX 19.90 &#42; 0.50 = 9.95 discount  Thanks, Jasper")*

Hi,

That "VAT" text comes from the translation file of Hikashop.
You can use a translation override in order to change that text:
[ hikashop.com/download/languages.html#modify](https://hikashop.com/download/languages.html#modify)

The following user(s) said Thank You: [Bob\_M](/forum/user/4708-bob-m "View Bob&#95;M's Profile")

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

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