Skip to main content

Show/Hide Characteristics Based on Variant Selected

4 years 3 months ago #343650 by novetrix
-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.3.33
-- Browser(s) name and version -- : Chrome 103.0.5060.134
-- Error-message(debug-mod must be tuned on) -- : None

Hello! I'm looking for a solution to a quandary I have.

I would like to show a product's characteristic ONLY if a certain variant is selected.

In the case of our website, we have "Size" and "Color Style'. In any size, if "Two Tone" is selected in Color Style, then I'd like Characteristic (Option?) "Base Color" to be visible. If "Single Color" is selected, I'd like "Base Color" to be hidden.

Is there an easy way to hide/show certain characteristic/options based on which variant is selected?

Thank you!

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

4 years 3 months ago #343653 by nicolas
Hi,

If you activate the "Characteristics dynamic display" setting of the HikaShop configuration, only the first characteristic will appear and be selectable when reaching the product page. Then, when you select something in that characteristic, the second characteristic will appear, and you'll be able to select something in it. And then same for the third one, the fourth, etc until the last one which will then refresh the information of the product with the selected variant's information and display the add to cart button for that variant.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum