Show price without TAX in subtotal

  • Posts: 69
  • Thank you received: 0
  • Hikashop Business
3 weeks 21 hours ago #314357

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.3

Hi

I want to show in checkout prices without tax in subtotal field and total price field with tax. How I can do it?


Thanks

Attachments:

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

  • Posts: 67916
  • Thank you received: 10111
  • MODERATOR
2 weeks 5 days ago #314398

Hi,

You'll have to edit the file "show_block_cart" via the menu Display>Views and change the line:

echo $this->currencyClass->format(@$cart->total->prices[0]->price_value_with_tax,@$cart->total->prices[0]->price_currency_id);
to:
echo $this->currencyClass->format(@$cart->total->prices[0]->price_value,@$cart->total->prices[0]->price_currency_id);

The following user(s) said Thank You: vaughan

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

  • Posts: 69
  • Thank you received: 0
  • Hikashop Business
2 weeks 5 days ago #314435

Great!

Thanks a lot

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

Time to create page: 0.061 seconds
Powered by Kunena Forum