As it say, I can´t get the “Add to cart” button to work and I can´t find out why.
I get a message “addToCart is not a funktion” I have compared with an other page i have where it works. The code on both pages are the same.
Hey Daniel,
Have a look at this API: https://www.wix.com/velo/reference/wix-stores/cart/addproducts
I find it works better than the one you are using
Please post the URL of your site, and explain where and how to see the problem.