[SOLVED] Price without TAX on prod option picklist

  • Posts: 290
  • Thank you received: 22
8 years 2 months ago #248357

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 7.0.9

Hi,
I have configured to show prices both with and without taxes.
The most important price is without tax.
For this reason I would like to use the price without tax on the dropdown lists that are being used to select the options.
Now it display's the price with tax and we would like it the other way around so without tax.

Maybe an idea to make it an option to have a "preffered display method" for with or without tax on these option?

Any suggestions are very welcome.

Last edit: 8 years 2 months ago by nico.van.leeuwen.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 2 months ago #248359

Hi,

Well, we have a lot of taxed price display options already and a lot of options in general.
We want to add a templating system to the views in the future where each view will use tags and have options. So in that respect it will be the ocasion to add such price display option directly to the views where it is needed.

For now, you'll have to edit the file "options" of the view "product" via the menu Display>Views and add such code at the top:
<?php $this->params->set('price_with_tax',0); ?>

The following user(s) said Thank You: nico.van.leeuwen

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

  • Posts: 290
  • Thank you received: 22
8 years 2 months ago #248415

Thank you Nicolas,

This is solving my problem for now

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

Time to create page: 0.057 seconds
Powered by Kunena Forum