How to show options without price ?

  • Posts: 96
  • Thank you received: 3
  • Hikamarket Frontedition Hikashop Business
11 years 7 months ago #140463

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : Business 2.2.3
-- Joomla version -- : 3.2.1
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello,
I have products with several options. It is good that when I choose one option I got a total price to see (product + option). But is it possible not to show the price from the option. Now I have this:
OPTION 1 NO
YES (+ € 100)
OPTION 2 NO
YES (+ €50)

But I want only a NO and YES.

Thanks for answering.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
11 years 7 months ago #140479

Hi,

You would have to edit the file "option" via the menu Display>Views and remove the lines:
$text.=' ( '.($positive?'+ ':'').strip_tags($this->loadTemplate()).' )';

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

  • Posts: 96
  • Thank you received: 3
  • Hikamarket Frontedition Hikashop Business
11 years 7 months ago #140753

nicolas wrote: Hi,

You would have to edit the file "option" via the menu Display>Views and remove the lines:
$text.=' ( '.($positive?'+ ':'').strip_tags($this->loadTemplate()).' )';


Thanks. That works fine.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 8 months ago #185236

Hi,

Please note that the code has changed in recent versions of HikaShop.
You would still have to edit the file "option" via the menu Display>Views but you now need to remove the lines:
$text.=' ( '.($positive?'+ ':'').$this->currencyHelper->format($price,$ok->price_currency_id).' )';

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

Time to create page: 0.057 seconds
Powered by Kunena Forum