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?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024