Skip to main content

Changing default option selction to Yes

More
10 years 11 months ago #218418 by abasel
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.5.4

How do I default an option selection to yes (instead of the No)?

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

More
10 years 11 months ago #218447 by Xavier
Hi,

You can edit the view "product / option" and add the code:
Code:
$value = $optionElement->product_id;
Right after:
Code:
if(!$optionElement->product_published || (!$this->config->get('show_out_of_stock',1) && $optionElement->product_quantity==0)) continue;

www.hikashop.com/support/support/documen...ize-the-display.html
The following user(s) said Thank You: abasel

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

More
10 years 11 months ago #218559 by abasel
Perfect, thanks :cheer:

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

Time to create page: 0.151 seconds
Powered by Kunena Forum