Hi,
I have multiple products that use attributes as variations and I’m facing a frontend issue at the moment.
My products are birthday candles, so I have both color and number as an option. I noticed that while adding it in the backend it often got stuck creating the variations, but refreshing always did the trick and I thought it was only related to the fact that I was creating 50 variations or more each time.
But on the frontend if I pick a color and then a number it always freezes and is stuck in the loading process. I checked my console and this is what I found:
Uncaught TypeError: Cannot read property 'length' of null
at HTMLFormElement.<anonymous> (etheme.js:1535)
at HTMLFormElement.dispatch (jquery.js:3)
at HTMLFormElement.r.handle (jquery.js:3)
at Object.trigger (jquery.js:3)
at Object.a.event.trigger (jquery-migrate.min.js:2)
at HTMLFormElement.<anonymous> (jquery.js:3)
at Function.each (jquery.js:2)
at a.fn.init.each (jquery.js:2)
at a.fn.init.trigger (jquery.js:3)
at Object.success (add-to-cart-variation.min.js:1)
If you could help me understand what needs to be done, that would be awesome.