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

#   VAT not added to total of shopping cart

##

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

Less More

- Posts: 48
- Thank you received: 1
-
-

11 years 4 months ago [\#207872](#207872) by [stof](/forum/user/36285-stof "View stof's Profile")  *[VAT not added to total of shopping cart](/forum/27-checkout/878065-vat-not-added-to-total-of-shopping-cart#207872 "-- HikaShop version -- : 2.5.0. -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hi,  I cant figure out why the total of the shopping cart of my shop is not correct.  There is a total but that is only the costs for transport and the subtotal. The tax is not added.  It is also strange that there is no text before the VAT ...  Anyone knows ? Why the tax is not added to the total?")* was created by *[stof](/forum/user/36285-stof "View stof's Profile")*

-- HikaShop version -- : 2.5.0.
-- Joomla version -- : 3.4
-- PHP version -- : 5.4

Hi,

I cant figure out why the total of the shopping cart of my shop is not correct.

There is a total but that is only the costs for transport and the subtotal. The tax is not added.

It is also strange that there is no text before the VAT ...

Anyone knows ? Why the tax is not added to the total?

- [ ![total&#95;not&#95;correct.png](/forum/attachment/25452) ](/forum/attachment/25452 "...ot&#95;correct.png") [ ](/forum/attachment/25452?download=1 "...ot&#95;correct.png")

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 4 months ago [\#207873](#207873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT not added to total of shopping cart](/forum/27-checkout/878065-vat-not-added-to-total-of-shopping-cart#207873 "-- HikaShop version -- : 2.5.0. -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hi,  I cant figure out why the total of the shopping cart of my shop is not correct.  There is a total but that is only the costs for transport and the subtotal. The tax is not added.  It is also strange that there is no text before the VAT ...  Anyone knows ? Why the tax is not added to the total?")*

Hi,

I suppose that it's because the 25.47€ sub total already includes the tax on your screenshot.
Set the "show taxed prices" setting of the HikaShop configuration to "Display both" and you'll see both the taxed and not taxed prices, and you'll be able to confirm that.

For the text of the VAT, it comes from the name of your tax rate that you configured via the "manage tax rates" button of the System&gt;Taxes menu. So go there and make sure that you're using a tax rate with a name.

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

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

Less More

- Posts: 48
- Thank you received: 1
-
-

11 years 4 months ago [\#208639](#208639) by [stof](/forum/user/36285-stof "View stof's Profile")  Replied by *[stof](/forum/user/36285-stof "View stof's Profile")* on topic *[VAT not added to total of shopping cart](/forum/27-checkout/878065-vat-not-added-to-total-of-shopping-cart#208639 "-- HikaShop version -- : 2.5.0. -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hi,  I cant figure out why the total of the shopping cart of my shop is not correct.  There is a total but that is only the costs for transport and the subtotal. The tax is not added.  It is also strange that there is no text before the VAT ...  Anyone knows ? Why the tax is not added to the total?")*

Hi Nicolas,

Thanks for your answer.

Your answer did the job but did a bit too much actually.

Now i also have the EX VAT price in the shop .. and in the part of the shopping cart before the subtotal. I only need the explanaition in the last line of the checkout...

Also the shopping cart has got the price excluding tax between brackets..

Do you know how I can hide
the ex vat price in the shopping cart module
the ex vat price in the shop
the ex vat price in the cart on checkout .. but just the ones before the calculation..

[ screencast.com/t/TwWyJIek](http://screencast.com/t/TwWyJIek)

[ screencast.com/t/iMPR5WnP3Oh](http://screencast.com/t/iMPR5WnP3Oh)

I hope I am clear what I mean. :huh:

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 4 months ago [\#208655](#208655) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT not added to total of shopping cart](/forum/27-checkout/878065-vat-not-added-to-total-of-shopping-cart#208655 "-- HikaShop version -- : 2.5.0. -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hi,  I cant figure out why the total of the shopping cart of my shop is not correct.  There is a total but that is only the costs for transport and the subtotal. The tax is not added.  It is also strange that there is no text before the VAT ...  Anyone knows ? Why the tax is not added to the total?")*

Hi,

Then cancel that, and instead, edit the file 'cart' of the view 'checkout' via the menu Display&gt;Views and add the code below at the beginning:
&lt;?php $this-&gt;params-&gt;set('price_with_tax',2); ?&gt;

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

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

Less More

- Posts: 48
- Thank you received: 1
-
-

11 years 4 months ago [\#208671](#208671) by [stof](/forum/user/36285-stof "View stof's Profile")  Replied by *[stof](/forum/user/36285-stof "View stof's Profile")* on topic *[VAT not added to total of shopping cart](/forum/27-checkout/878065-vat-not-added-to-total-of-shopping-cart#208671 "-- HikaShop version -- : 2.5.0. -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hi,  I cant figure out why the total of the shopping cart of my shop is not correct.  There is a total but that is only the costs for transport and the subtotal. The tax is not added.  It is also strange that there is no text before the VAT ...  Anyone knows ? Why the tax is not added to the total?")*

Hi,

Thanks for your answer.

Where do I have to put it in the file? At the beginning of what? About what line do I have to put it?
Tried it at the beginning and did not work. And tried it somewhere where I thougth the cart started .. also did not work.

Any idea?

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 4 months ago [\#208681](#208681) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT not added to total of shopping cart](/forum/27-checkout/878065-vat-not-added-to-total-of-shopping-cart#208681 "-- HikaShop version -- : 2.5.0. -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hi,  I cant figure out why the total of the shopping cart of my shop is not correct.  There is a total but that is only the costs for transport and the subtotal. The tax is not added.  It is also strange that there is no text before the VAT ...  Anyone knows ? Why the tax is not added to the total?")*

Hi,

At the beginning of the file. Before anything.

I don't see why that would work. Are you sure that you edited that view file for your frontend template and not another template ? Otherwise, that wouldn't change anything.

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

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