Hi Elise,
please help! due to some update, the “Add to cart” button is freezing. You press it, and the spinning wheel continues forever. The product is added to cart, but nothing happens. It happens on every WooCommerce Single Product page. In Chrome, I am seeing this error: Uncaught ReferenceError: wc_add_to_cart_params is not defined
https://ibb.co/yk84CHf
Example page:
https://www.independent.wine/product/francone-barolo-2016-barolo-docg-decanter-silver-medal/
Here is the code from Chrome -> Inspect Element ->
Uncaught ReferenceError: wc_add_to_cart_params is not defined
at Object.success (functions.min.js?ver=5.1.12:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)
Note: I changed “Add to Cart” to “Buy now” in Loco translate, so this is only text difference.