how to disable auto variant selection on products shopify

how to disable auto variant selection on products shopify

almahmud1
Shopify Partner
4 0 2

Hi, 

Currently, my website has an auto-selection of product variants. I want my website not to have product variants auto-select so that customers can select the variant as their choice.

Currently, I am using "Lammer" theme version 4.0.0

 

Please I need quick solution.

Thanks in advance

 

Replies 3 (3)

Roy-ロイ
Shopify Partner
81 17 30

Hi @almahmud1 

Thanks for reaching out! I understand your concern about disabling the auto-selection of product variants on your website. I'd be happy to help you with that.

However, I think there is no quick solution for this. Can you share the store URL with me and I can try to see what I can do to make that happen? This will allow me to take a closer look at your current setup and provide a more tailored solution.

Looking forward to hearing back from you!

Kind regards,
Roy

Let's connect and grow your Shopify business together! 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Connect with me at: roy.solution.partner@gmail.com ( CRO | Site Speed Optimization | Custom Development )

almahmud1
Shopify Partner
4 0 2

Screenshot_66.png

Actually, I am not comfortable to share the store URL in a public place, because I'm a freelancer and this store owner is another one, so this is not safe for me. I attached a screenshot so that you can understand. And if it is possible give me solution to the screenshot of my product variant. I hope you understand.

Roy-ロイ
Shopify Partner
81 17 30

Hi @almahmud1 
Thanks for sharing the screenshot for additional reference. I understand your concern of not able to share the URL. What I can suggest is, please see if you can find the primary functionality of variants and add an error handling function that will see if all the options in the variant form is selected or not, otherwise it throws an error prompting user to do so since there can be 3 options. 
To not select it at page load, please find the liquid code responsible of adding the "checked" attribute and remove it. 
Also the "Add to cart" button needs to be handled as well when one of many of the options are not selected. 

Kind Regards, 

Roy

Let's connect and grow your Shopify business together! 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Connect with me at: roy.solution.partner@gmail.com ( CRO | Site Speed Optimization | Custom Development )