A space to discuss online store customization, theme development, and Liquid templating.
Variant is always pre-selected on smallest size causing mistaken orders
In the left-hand sidebar, click on the "Assets" folder to expand it.
Look for the "theme.js" or "theme.js.liquid" file and click on it to open the file editor.
Comment out or remove the code block that handles the auto-select variant feature. It may look something like this:
// Shopify.theme.jsAutoSelectVariant.enable();
Hi, there is no "theme.js" or "theme.js.liquid" is Assets folder. The closest is "theme-editor.js" but this doesn't any code similar to what you mentioned.