- Posts: 139
- Thank you received: 1
Changing default option selction to Yes
10 years 11 months ago #218418
by abasel
Changing default option selction to Yes was created 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)?
-- 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.
10 years 11 months ago #218447
by Xavier
Replied by Xavier on topic Changing default option selction to Yes
Hi,
You can edit the view "product / option" and add the code:
Right after:
www.hikashop.com/support/support/documen...ize-the-display.html
You can edit the view "product / option" and add the code:
Code:
$value = $optionElement->product_id;
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.
10 years 11 months ago #218559
by abasel
Replied by abasel on topic Changing default option selction to Yes
Perfect, thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds