Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I recently attempted to integrate my store with Facebook and Instagram but after doing so, my variant selector stopped working. I haven't added any custom code, or implemented third party apps to handle variants. I use swatches for one set of the options. When a set of options are selected that don't make up a preset variant, adding to cart functionality still remains. When add to cart is pressed with an invalid variant, the store adds to the cart the variant with all three variant parameters set to the first option. Has anyone else run into this issue?
Hello @Viewsofjavi ,
Seems that the code changed to "selected, first available or default" variant selection for the add-to-cart/buy button functionality. Instead of checking availability OR variant configuration for the selected combination, the add-to-cart/buy buttons allow the customer to add the default variant to their cart when they select an unconfigured variant. I had shopify support help me, it wasn't to do with the theme. Problem persisted with different themes. The swatches are configured correctly, switching to dropdowns changed nothing. An unconfigured variant selection shouldn't allow the customer to add anything to the cart. I don't know when the code changed but there's another seller I've come across with the same issue and they didn't attempt to integrate FB/Instagram.
I'm having the same problem. Invalid variant option combinations are selectable even when they shouldn't be.
Have they fixed your issue yet?
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025