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
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.
|25 seconds ago|