Price on the product page is different than the one of the module or the menu.

  • Posts: 5
  • Thank you received: 0
7 years 4 months ago #273221

-- HikaShop version -- : 3.1.1

Hi, I am having a problem and I cant seem to figure it out. I am using a 25% VAT for all products on my shop.

However i would very much like to display the prices in cart module and on the checkout menu as follows:

Unit price - the base price of the product
Vat - the vat 25% that is automatically calculated
Total - the total price

On system-configuration-main-taxes I found a very good option: show taxed prices: no tax
When i select this option the prices are changing as the way i want them in cart module and on the checkout.
However when i select this option the price of the product, displayed on the product view (of any product) will be the base price (the one without VAT) no matter what i select.

Is there any way to have the prices as above and on the product page still have the total price (including VAT) ?

Thank you very much!

PS: i have changed the "Product Options - Product Data Display - Show taxed prices - With Tax" to all menus and modules that i use to have the total price be display on the products but when i click a specific product it still shows the base price (the one without tax)

Last edit: 7 years 4 months ago by gm417i. Reason: i forgot something

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 4 months ago #273222

Hi,

Indeed that setting controls both the checkout/cart display and the product page display.
You if you want a different behavior, you'll have to force the setting on the product page.
To do that, edit the file "show" of the view "product" via the menu Display>Views and add such code at the top:

<?php $this->params->set('price_with_tax',1); ?>

The following user(s) said Thank You: gm417i

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

  • Posts: 5
  • Thank you received: 0
7 years 4 months ago #273824

Great! Thanks you now it looks super profi :D

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

Time to create page: 0.054 seconds
Powered by Kunena Forum