Hi Experts,
I would like to hide the color option if there is only one variant for color.
let say, my product have only blue color, then no need to show color variants , but if there is blue and red, it shows for customer to choose.
Can you help to code this condition ?
Thanks
1 Like
@khaliled1688
The following post will help you to do a hide variant dropdown.
https://community.shopify.com/topic/551216
Hope this helps.
Thanks!
1 Like
Thank you very much! Already solved.
1 Like
Did you solve this for Online Store 2.0? The referenced post is for the old version.