Add To Cart Button keeps showing loading wheel

Highlighted
New Member
3 0 0

My add to cart button keeps showing a loading wheel animation once clicked. Like so..

 

Screen Shot 2020-01-19 at 3.51.13 pm.png

 

From what I've read on the community it seems like an app has broken a JS file but there has been no clear answer to a common question. Hoping someone can help find the root cause.

Much appreciated,

Clint

0 Likes
Highlighted
Shopify Expert
2686 67 716

Clint,

there is no definite answer since there are multiple possible causes for this. It's impossible to tell without looking at the actual site, so please, share the link to your shop (preview link, if not published yet/has storefront password).

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
I am away till Feb-15.
0 Likes
Highlighted
New Member
3 0 0

Makes sense! Thanks for reaching out.

Link to my shop is https://www.flawlessbacks.com/ and password is voflul.

 

Thanks again

0 Likes
Shopify Expert
2686 67 716

Well,  the problem is the same -- the app you use ("QTY breaks") loads its own jQuery over the one used by theme. It breaks the theme code because the plugins added by theme to its own jQuery are no longer available.

Namely the theme add to cart code misses the prepareTransitions() in _showCartPopup function. 

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
I am away till Feb-15.
1 Like
Highlighted
New Member
3 0 0

Thanks Tim! I'll take a look at the code and reach out to the app support if I need any further help.

 

Cheers,

Clint

0 Likes