Add to Cart & Wishlist Button not working on Desktop but its working on CellPhone

New Member
4 0 0

Hi, 

I have Granada-1-2-Demo3 Theme. All my buttons were working until Yesterday. Today my Add to Cart & Wishlist Button not working on Desktop but its working on CellPhone. This is my Website https://www.terrificjam.com

0 Likes
Shopify Partner
36 7 34

They are working for me on desktop now?

Personal Shopify Development for $40 an hour. Contact me by private message or by email at info@kenkinneen.com
2 Likes
Highlighted
Tourist
16 0 0

You have one Javascript error on page load form efb.js:

Uncaught ReferenceError: previewefbdata is not defined

The second error is Uncaught Error: Syntax error, unrecognized expression: #[object HTMLFormElement] and its triggered when you alick on add to cart button.

Looking on the function call tree I see: Shopify.addItemFromForm(evt.target, itemAddedCallback, itemErrorCallback); 

Without access to the code to look into the function arguments I guess that evt.target or itemAddedCallback is not passing the right element. Probably some changes were done the the Liquid code or something broke in JS.

Try to console.log those arguments and see it they return what is expected.

0 Likes
New Member
4 0 0
Thanks for that.
0 Likes