Ajax cart drawer loading infinitely

Solved
ucy57
Tourist
4 0 1

Hey guys,

 

I have a problem in one of my Shopify-Stores. (https://bluefox-online.de/). Once I activate the ajax cart drawer and add products to the cart there is a loading wheel on the cart drawer and nothing happens. I checked if there are some errors (screenshot attached.)

 

It would be great if you could see why it`s not working. In the beginning it worked fine, but all of a sudden it didn`t work anymore.

Thank you in advance for your helpful comments! 

Best regards,

Marcus

Bildschirmfoto 2020-10-06 um 15.19.49.png

0 Likes
Jayvin
Shopify Partner
130 17 30

Hi,

You are getting the error in the buildCart functionality in the theme.js, basically the cart template (handlebars) is messed up.

Check this $('#CartTemplate').html() handlebar template.

0 Likes
ucy57
Tourist
4 0 1

Hi Jayvin,

thanks for your advice first of all!

I looked it up and found it, yet I don't know what to change in the code in order to make it work. Could you please help me out here?

0 Likes
Lixon_Louis
Shopify Partner
1174 34 229

This is an accepted solution.

@ucy57 I suppose the error happened after you added a link to Shipping terms https://bluefox-online.de/pages/versandbedinungen

Do you have a fresh copy of the same theme? Is it Brooklyn theme

Available for hiring. Reach me at lixon@ecommercestudio.in
0 Likes
ucy57
Tourist
4 0 1

Oh that may be the cause. Where can I remove the link? Somebody else added it... I can make a copy of the theme. It is a modified Brooklyn, yes!

0 Likes
ucy57
Tourist
4 0 1

Amazing, I changed it and it worked. The solution was to change "{{ https://bluefox-online.de/pages/versandbedinungen }}" to "{{ link }}". Thanks a lot, great help!!