dont show accessories prices

  • Posts: 2
  • Thank you received: 0
11 years 6 months ago #144036

-- url of the page with the problem -- : anticocaffe.ch
-- HikaShop version -- : purchased
-- Joomla version -- : 3.x

hello

i hope you can help me. i want that in my products pages, the accessories of the products DONT SHOW their prices. the customer may only choose which accesories want, but the price must be not showned in the accessories menu, but instead only on the final price.

could you help me? thanks

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

  • Posts: 2
  • Thank you received: 0
11 years 6 months ago #144038

a simple example

i have a coffee machine for 300$. on that coffee machines there are several accessories possible. each of them are selectable on a menu in the product page. i need that the single price of each accessories dont be shown into this menu.
it is possible?

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

  • Posts: 73
  • Thank you received: 7
11 years 6 months ago #144082

Hi,

By Accessories, do you mean Options ?
If so, the only way to do it is to modify the code manually.
In the file yourwebsite/components/com_hikashop/views/product/tmpl/option.php, find this line

$text.=' ( '.($positive?'+ ':'').strip_tags($this->loadTemplate()).' )';
and comment (by adding '//' behind) or delete it (it should appears twice in the file, so comment or delete both line)

Please note until it's a manual change into a Hikashop file, you'll have to do this each time Hikashop is updated.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum