nicolas wrote: Hi,
1. The description icon on the option name is supposed to be the description of the main product of the option not the variants. So it's actually normal it doesn't refresh when you change the variant selected in the option.
We didn't think it would make sense.
I personally still don't think it would.
Moreover, if you want to change that, it won't be so easy as the tooltips are initialized by Joomla when the page is loaded. So changing the content of the tooltip dynamically would require some custom javascript to clear the tooltip and reinitialize it.
It's not impossible to do if you're a developer and you know well PHP/javascript but otherwise I don't see any way to do that.
2. There are two ways to go about that:
- you add an additional "no" value to the characteristics and add the corresponding variant in the option product and select it as default. That way, the option will default to that "no" variant.
- you can also add a "no" choice for all the options with variants:
www.hikashop.com/forum/product-category-...t-option.html#138030
I looked for the code
"$this->values = array();
to:
$this->values = array(JHTML::_('select.option', 0,JText::_('HIKASHOP_NO')));
and removing the line:
$value = $variant->product_id; "
in the Options View but it is not there here is what I see but I still do not know what to change to add the "no" value to it.
[Moderator : There is no point to post a code view that we already know and have.
Plus, don't forget that this forum aim is to be used by other people, and so a long message detracts from the good reading, next time using attachments.]