VAT not added to total of shopping cart

  • Posts: 48
  • Thank you received: 1
9 years 4 months ago #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?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 4 months ago #207873

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>Taxes menu. So go there and make sure that you're using a tax rate with a name.

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 1
9 years 4 months ago #208639

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

screencast.com/t/iMPR5WnP3Oh

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

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 4 months ago #208655

Hi,

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

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 1
9 years 4 months ago #208671

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 or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 4 months ago #208681

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 or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum