Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I have a problem when I choose a variant, ATC button grays out even tho the product is not out of stock.
I have to refresh the page for the ATC button to work again. What confuses me more is that this problem happens to certain products only and not all of them.
my website is https://myglamngo.com
a product that shows this problem: https://myglamngo.com/collections/all/products/crinkle-linen-set
a product that doesn't: https://myglamngo.com/collections/all/products/fluffy-wool-jacket
the console gives this error:
Uncaught TypeError: Cannot read properties of null (reading 'insertBefore')
at VariantSelects.renderProductInfo (main-product.min.js?v=89707781135687103051701890217:1:9266)
at VariantSelects.onVariantChange (main-product.min.js?v=89707781135687103051701890217:1:5436)
please help!
Hi @a7nawy ,
Currently, when I visit your store and check some products, change variants, I need help with the problem you describe.
It's very possible that the variant you chose is sold out or the shop location doesn't have that variant.
Please check the Variants section in the product you need help with.
Hope it helps @a7nawy
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
I figured it out. It turned out that this problem occurs when I add a compare-at price, I still don't know why, so I left it blank in all products/variants.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024