How can I make sold out variants selectable in my latest theme update?

Hi,

with our latest theme update (Be Yours) we can not select sold out variants anymore. We use a out of stock app that only shows when you select a variant/size that is sold out but we can not select the sold out variants anymore. For example here is size sold M & L sold out but you can not click the sold out sizes.

Can someone help me out to make sold out variants selectable?

Best regards

Hi @SchubertNex

Search for file product-variant-options.liquid and edit code like below


This will add a class named enable-notify class to label when the variant is out of stock. Now add the below SCRIPT at the end of the file.


This will bind the script to fire action. Above code working fine for DAWN theme.

Hope it helps…

Unfortunately this does not work.

Would you mind sharing your store URL and password if required?

Hi @SchubertNex

Paste the below script in main-product.liquid at the very end of the file.


Hope this will help…