Only price wthout tax in cart

  • Posts: 290
  • Thank you received: 22
8 years 3 weeks ago #254479

-- url of the page with the problem -- : www.heemskerk-kantoormeubelen.nl
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0.12

Hi,
I've been trying to change the code of the showcart view to get rid of these values :



Tried to make something work with the info in this post :
post 251331
But unfortunately without success.

I have added the screenshot because the shop is still behind a login during development.

Thanks for additional tips.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 weeks ago #254484

Hi,

HikaShop views are using settings from the configuration to determine how the price should be displayed.
And views can also include other views dedicated on the display of prices.
So it provides an unified display in your website.
www.hikashop.com/support/documentation/5...nfig.html#main_taxes

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 290
  • Thank you received: 22
8 years 3 weeks ago #254584

Hi Jerome,

Thank you for the reply.
I understand the default settings...
And it would be best if it is the same everywhere.
My luck is that I don't have a unified client :)

So this means I have to find a way to change the default behavior in some views.
I was just hoping that I misread something in the other forumpost and that it could be applied to my situation.

Will have to find another way then, thanks again !

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 2 weeks ago #254603

Hi,

Changing the way the product prices are displayed in the different views is quite easy.
For example, in your case, you can edit the file "cart" of the view "showcart" and add such line at the top:

<?php $this->config->set('price_with_tax',0); ?>

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

Time to create page: 0.058 seconds
Powered by Kunena Forum