I am trying to disable auto-selection of variant on product page and quick add. I can’t seem to find the correct way to do it on Shopify 2.0. store with Stiletto theme.
Topic summary
-
Issue: Disabling automatic variant selection on the product page and quick add for a Shopify Online Store 2.0 site using the Stiletto theme.
-
Guidance: The auto-selection is controlled by theme JavaScript. The fix involves locating the JS file responsible for variant selection and removing or modifying the code that preselects a variant.
-
Details: No specific file names, code snippets, or step-by-step instructions were provided. The responder offered to implement the change if needed.
-
Status: No confirmed solution or actions taken yet; the thread remains open with a general direction (edit JS) but without concrete implementation steps.
Hi @C-W-Mel Auto selection use to happens from javascript code, so you need to identify the file and then find the code for selection and then remove or update the JS code according to your needs.
If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil