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

#   URGENT- Wrong Tax calculations

##

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

Less More

- Posts: 44
- Thank you received: 0
-
-

6 years 5 months ago [\#321178](#321178) by [Harrier](/forum/user/59673-harrier "View Harrier's Profile")  *[URGENT- Wrong Tax calculations](/forum/40-taxes/900255-urgent-wrong-tax-calculations#321178 "Hi,  We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.  Actual calculations should be like this:  A. Product price(excl.tax)- 7789 B. Coupan 5% on above price- 389 C. Net product price(before tax)(A-B)- 7400 D. 18% tax on Net product price(C&#42;18%)- 1332 E. Total Cart price(C+D)- 8732  So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.  But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.  I have also attached the current tax settings for your information. A quick fix is highly appreciated.  Thanks")* was created by *[Harrier](/forum/user/59673-harrier "View Harrier's Profile")*

Hi,

We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.

Actual calculations should be like this:

A. Product price(excl.tax)- 7789
B. Coupan 5% on above price- 389
C. Net product price(before tax)(A-![B)](/media/kunena/emoticons/9.png "B)")- 7400
D. 18% tax on Net product price(C*18%)- 1332
E. Total Cart price(C+D)- 8732

So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.

But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.

I have also attached the current tax settings for your information. A quick fix is highly appreciated.

Thanks  [ ![wrongtax.jpg](/forum/attachment/49847) ](/forum/attachment/49847 "wrongtax.jpg")

[ ![taxrates.jpg](/forum/attachment/49848) ](/forum/attachment/49848 "taxrates.jpg")

- [ ![wrongtax.jpg](/forum/attachment/49847) ](/forum/attachment/49847 "wrongtax.jpg") [ ](/forum/attachment/49847?download=1 "wrongtax.jpg")
- [ ![taxrates.jpg](/forum/attachment/49848) ](/forum/attachment/49848 "taxrates.jpg") [ ](/forum/attachment/49848?download=1 "taxrates.jpg")

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

6 years 5 months ago [\#321182](#321182) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URGENT- Wrong Tax calculations](/forum/40-taxes/900255-urgent-wrong-tax-calculations#321182 "Hi,  We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.  Actual calculations should be like this:  A. Product price(excl.tax)- 7789 B. Coupan 5% on above price- 389 C. Net product price(before tax)(A-B)- 7400 D. 18% tax on Net product price(C&#42;18%)- 1332 E. Total Cart price(C+D)- 8732  So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.  But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.  I have also attached the current tax settings for your information. A quick fix is highly appreciated.  Thanks")*

Hi,

You have the "apply coupons" setting that you might want to change.
And also, this depends on how the tax settings are configured in the coupon.
I would recommend to have the automatic tax setting activated in the coupon.

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

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

Less More

- Posts: 44
- Thank you received: 0
-
-

6 years 5 months ago -  6 years 5 months ago [\#321207](#321207) by [Harrier](/forum/user/59673-harrier "View Harrier's Profile")  Replied by *[Harrier](/forum/user/59673-harrier "View Harrier's Profile")* on topic *[URGENT- Wrong Tax calculations](/forum/40-taxes/900255-urgent-wrong-tax-calculations#321207 "Hi,  We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.  Actual calculations should be like this:  A. Product price(excl.tax)- 7789 B. Coupan 5% on above price- 389 C. Net product price(before tax)(A-B)- 7400 D. 18% tax on Net product price(C&#42;18%)- 1332 E. Total Cart price(C+D)- 8732  So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.  But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.  I have also attached the current tax settings for your information. A quick fix is highly appreciated.  Thanks")*

Hi Nicolas,

Great! I did the required settings and tax calculations are displaying in the cart correctly. I have attached screenshot carttaxcorrect

[ ![carttaxorrect&#95;2020-06-24-2.jpg](/forum/attachment/49872) ](/forum/attachment/49872 "...20-06-24-2.jpg")

But now, at other places calculations, amounts are not reflecting as per the above bifurcation on customer order history, order history additional information section, Vendor price, Invoice, Email notification, etc.

I NEED to show the exact bifurcation of the amounts as shown in the carttaxcorrect screenshot above everywhere across the places- Order history, Customer Order, Email notification, Vendor paid, etc.

Please find attached wrong amounts shown by arrows. I NEED to show EXACT bifurcation of the amounts, taxes, coupons, etc as per the carttaxcorrect at all places.

Thanks!  [ ![Addiontinfotaxwrong.jpg](/forum/attachment/49863) ](/forum/attachment/49863 "...fotaxwrong.jpg")

[ ![Ordertaxincorrect.jpg](/forum/attachment/49864) ](/forum/attachment/49864 "...xincorrect.jpg")

[ ![vendoramountincorrect.jpg](/forum/attachment/49865) ](/forum/attachment/49865 "...tincorrect.jpg")

[ ![incorrectinvoiceamounts.png](/forum/attachment/49866) ](/forum/attachment/49866 "...iceamounts.png")

- [ ![Addiontinfotaxwrong.jpg](/forum/attachment/49863) ](/forum/attachment/49863 "...fotaxwrong.jpg") [ ](/forum/attachment/49863?download=1 "...fotaxwrong.jpg")
- [ ![Ordertaxincorrect.jpg](/forum/attachment/49864) ](/forum/attachment/49864 "...xincorrect.jpg") [ ](/forum/attachment/49864?download=1 "...xincorrect.jpg")
- [ ![vendoramountincorrect.jpg](/forum/attachment/49865) ](/forum/attachment/49865 "...tincorrect.jpg") [ ](/forum/attachment/49865?download=1 "...tincorrect.jpg")
- [ ![incorrectinvoiceamounts.png](/forum/attachment/49866) ](/forum/attachment/49866 "...iceamounts.png") [ ](/forum/attachment/49866?download=1 "...iceamounts.png")
- [ ![carttaxorrect.jpg](/forum/attachment/49870) ](/forum/attachment/49870 "carttaxorrect.jpg") [ ](/forum/attachment/49870?download=1 "carttaxorrect.jpg")
- [ ![carttaxorrect&#95;2020-06-24.jpg](/forum/attachment/49871) ](/forum/attachment/49871 "...2020-06-24.jpg") [ ](/forum/attachment/49871?download=1 "...2020-06-24.jpg")
- [ ![carttaxorrect&#95;2020-06-24-2.jpg](/forum/attachment/49872) ](/forum/attachment/49872 "...20-06-24-2.jpg") [ ](/forum/attachment/49872?download=1 "...20-06-24-2.jpg")

Last edit: 6 years 5 months ago by [Harrier](/forum/user/59673-harrier "View Harrier's Profile").

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

6 years 5 months ago [\#321216](#321216) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URGENT- Wrong Tax calculations](/forum/40-taxes/900255-urgent-wrong-tax-calculations#321216 "Hi,  We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.  Actual calculations should be like this:  A. Product price(excl.tax)- 7789 B. Coupan 5% on above price- 389 C. Net product price(before tax)(A-B)- 7400 D. 18% tax on Net product price(C&#42;18%)- 1332 E. Total Cart price(C+D)- 8732  So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.  But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.  I have also attached the current tax settings for your information. A quick fix is highly appreciated.  Thanks")*

Hi,

Looking at your screenshots, it seems that you have the "show taxed prices" setting of the HikaShop configuration set to "with taxes". Change it to "no taxes" and it should display like you want everywhere.

The following user(s) said Thank You: [Harrier](/forum/user/59673-harrier "View Harrier's Profile")

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

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

Less More

- Posts: 44
- Thank you received: 0
-
-

6 years 4 months ago -  6 years 4 months ago [\#321286](#321286) by [Harrier](/forum/user/59673-harrier "View Harrier's Profile")  Replied by *[Harrier](/forum/user/59673-harrier "View Harrier's Profile")* on topic *[URGENT- Wrong Tax calculations](/forum/40-taxes/900255-urgent-wrong-tax-calculations#321286 "Hi,  We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.  Actual calculations should be like this:  A. Product price(excl.tax)- 7789 B. Coupan 5% on above price- 389 C. Net product price(before tax)(A-B)- 7400 D. 18% tax on Net product price(C&#42;18%)- 1332 E. Total Cart price(C+D)- 8732  So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.  But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.  I have also attached the current tax settings for your information. A quick fix is highly appreciated.  Thanks")*

Thanks Nicolas. It works!

But our requirement is we have to display the product price on product page as including taxes but everywhere else it should do the reverse calculation to arrive at base amount, then deduct coupon(if applied) to arrive at net amount. Then on this net amount tax will be calculated and total amount should be shown(net amount plus tax on it). This is happening in Cart but not in email notifications, Order history, Invoice, etc. How do we show this everywhere else including vendor pages since we have Hikamarket Multi vendor latest version except the product page?

Following cart screenshot is showing including tax unit price where our price given in the product page is including and in cart we want to show the excluding tax, then calculate tax amount separately(tax not to be applicable on discounts, coupon amounts) then arrive at final total.

Wrong calculation of unit price in the cart screenshot and our taxes settings are attached herewith.
[ ![carttaxnotexcltax.jpg](/forum/attachment/49883) ](/forum/attachment/49883 "...notexcltax.jpg")

[ ![taxsetttingsnotax.jpg](/forum/attachment/49884) ](/forum/attachment/49884 "...tingsnotax.jpg")

Thanks!

- [ ![carttaxnotexcltax.jpg](/forum/attachment/49883) ](/forum/attachment/49883 "...notexcltax.jpg") [ ](/forum/attachment/49883?download=1 "...notexcltax.jpg")
- [ ![taxsetttingsnotax.jpg](/forum/attachment/49884) ](/forum/attachment/49884 "...tingsnotax.jpg") [ ](/forum/attachment/49884?download=1 "...tingsnotax.jpg")

Last edit: 6 years 4 months ago by [Harrier](/forum/user/59673-harrier "View Harrier's Profile").

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

6 years 4 months ago [\#321289](#321289) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URGENT- Wrong Tax calculations](/forum/40-taxes/900255-urgent-wrong-tax-calculations#321289 "Hi,  We want to apply a coupon discount on a product and arrive at a discounted price. On this discounted price the tax should be applied. Then the discounted price and the tax should sum up to the total amount in the cart. But currently, it is not happening like that. Please find attached the screenshot of the Cart.  Actual calculations should be like this:  A. Product price(excl.tax)- 7789 B. Coupan 5% on above price- 389 C. Net product price(before tax)(A-B)- 7400 D. 18% tax on Net product price(C&#42;18%)- 1332 E. Total Cart price(C+D)- 8732  So, the tax value should be display Rs 1332 as given in the above point D. This is right and required.  But in the screenshot attached it is showing 1402 which is 18% of 7789(point A above). This is wrong.  I have also attached the current tax settings for your information. A quick fix is highly appreciated.  Thanks")*

Hi,

In that case, you want to keep that setting set to "no taxes". Then, you can edit the file product / show.php via the menu Display&gt;Views and add such line at the top: Code:

&lt;?php $this-&gt;params-&gt;set('price_with_tax', 1); ?&gt;

And it will display the price including taxes on the product page.

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