Today I’ve a problem with a Shopify theme when I try to put on cart an Item. The button is infinite loading.
I’ve an JS error in console and I suspect this come from here:
TypeError: Cannot read property 'classList' of null at Product._setCartCountBubble (theme.js?v=14877781539576074710:8609) at theme.js?v=14877781539576074710:8434
The line 8609 of the file is:
That’s right, cartCountBubble is empty in Object:
I don’t know where it could have come from other than here and I can’t put all the code back together to understand….