Manditory variant selection

14 0 0



i wanted to enable the option for customers to choose an variant option as mandatory in my store as like in below listed tutorials. i tired out the second tutorial but no hope. Please advise the ways to execute this option in my code. i am using boost theme.

Store URL:


Thanks in advance :)

Shopify Staff
Shopify Staff
1066 64 124

Hi there @selvasparrow!


Don here from Shopify. :)


It sounds like you are currently using the Boost theme by Clean Canvas at the moment.


The Shopify customisation you have linked above is designed to be used with our own, free themes and will not necessarily work on other themes which are coded differently.


If you need help with customising your third-party theme you can reach out to its developers or check their support resources to see if they have an equivalent process.


Should they not be able to provide support for that specific request, you can also consider hiring a theme Expert to put this in place for you:




There might also be a fellow merchant or Partner here who has experience with customising that particular theme who can add something helpful from their own experience?


Is there a business motivation behind this requirement that we might be able to accommodate in another way?





Don | Social Care @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog