Add to Cart Button Not Working! Please Help

New Member
5 0 0

I recently added a custom live preview option on my website and noticed that it disables the "add to cart" button, but I'm not sure why.

 

Here is the link to an item on our product page: https://house-numbers1.myshopify.com/products/cast-metal-11

 

Live preview works when you are first on the page - but I noticed that once you switch between the font options and type in any text in the text box, the add to cart button switches to "unavailable"

 

Any help is welcome!

0 Likes
Shopify Partner
274 22 37

You get a google console error when switching fonts.  Says Preview2 is not declared.  You would need to talk to the app developer or place you got the code from generally to see if they have a known fix.  JS is not my strong suit.  Another Dev might be able to assist further but I can help ID the problem.

 

app live preview.png

Best Regards,
Duncan.
Isle of misfit code & development
http://ecomdev.ca
0 Likes
New Member
5 0 0

Thank you for your help, the error code you mentioned was actually not suppose to be there at all, I removed that.

I went to the original source for the code and found no solutions, unfortunately. I may have to disable this function on my website since it is not working.

0 Likes
Tourist
5 1 0

Hey Duncan,

 

I thought I would try my luck and see if you were able to help me identify an error code I apparently have an error which is making my add to cart button not work. Well, it works but sends you to a black screen afterwards. The theme developer is not being very helpful and suggested it will be one of my third party apps having an error code somewhere which has made it do this but i have no idea where to look. If you were able to help me at all that would be amazing. Thanks, Caitlin NZ

0 Likes