Product Options
- condorazul
-
Topic Author
- Offline
Less
More
14 years 9 months ago #32507
by condorazul
Product Options was created by condorazul
for having product options i have to create a new product i suppose. Then when i have it done i dont want it to be showing in categories is it possible? i mean i want to have the optio personalization, but only in certain products and i dont want to have it in categories showing.
Second question is is it possible for this options to display in radial button or the only option is list?.
Second question is is it possible for this options to display in radial button or the only option is list?.
Please Log in or Create an account to join the conversation.
14 years 9 months ago #32531
by nicolas
Replied by nicolas on topic Re: Product Options
Yes it's possible. For that, you can create a new unpublished category and put your options into that category. That's what we did on our demo website.
There is no option to display the options with radio buttons instead of dropdowns. However, you should be able to do it by editing the file "option" of the view "product" via the menu Display->Views and changing the line:
$html = JHTML::_('select.genericlist', $this->values, $map, 'class="inputbox" size="1" onchange="hikashopChangeOption();"', 'value', 'text', (int)$value,$id );
to:
$html = JHTML::_('select.radiolist', $this->values, $map, 'onclick="hikashopChangeOption();"', 'value', 'text', (int)$value,$id );
There is no option to display the options with radio buttons instead of dropdowns. However, you should be able to do it by editing the file "option" of the view "product" via the menu Display->Views and changing the line:
$html = JHTML::_('select.genericlist', $this->values, $map, 'class="inputbox" size="1" onchange="hikashopChangeOption();"', 'value', 'text', (int)$value,$id );
to:
$html = JHTML::_('select.radiolist', $this->values, $map, 'onclick="hikashopChangeOption();"', 'value', 'text', (int)$value,$id );
Please Log in or Create an account to join the conversation.
Time to create page: 0.124 seconds