You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do we deselect the default variant on the product page using the Dawn 10 theme (using variant pills)?
I tried removing checked from the product-variant-options.liquid file, which did remove the selection. However, when you click the Add to Cart button, it still adds the first option instead of prompting for a choice.
It also made it so that when navigating back to the product page from the cart it would no longer select the variant that was added to the cart by default.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How do we deselect the default variant on the product page using the Dawn 10 theme (using variant pills)?
I tried removing checked from the product-variant-options.liquid file, which did remove the selection. However, when you click the Add to Cart button, it still adds the first option instead of prompting for a choice.
It also made it so that when navigating back to the product page from the cart it would no longer select the variant that was added to the cart by default.
Beta Was this translation helpful? Give feedback.
All reactions