AJAX Add to cart dont work with your plugin
-
Hello, I’m using your plugin, but it’s causing me an error with the AJAX add to cart.
Here’s the error the console displays when I click on the button to add to cart:
add-to-cart.min.js?ver=9.1.4:1
Uncaught
TypeError: t(…).addClass(…).fadeTo(…).block is not a function
at String. (add-to-cart.min.js?ver=9.1.4:1:2865)
at Function.each (jquery-3.7.0.js:389:19)
at a.updateFragments (add-to-cart.min.js?ver=9.1.4:1:2800)
at HTMLBodyElement.dispatch (jquery-3.7.0.js:5135:27)
at elemData.handle (jquery-3.7.0.js:4939:28)
at Object.trigger (jquery-3.7.0.js:8619:12)
at HTMLBodyElement. (jquery-3.7.0.js:8697:17)
at Function.each (jquery-3.7.0.js:383:19)
at jQuery.fn.init.each (jquery-3.7.0.js:205:17)
at jQuery.fn.init.trigger (jquery-3.7.0.js:8696:15)
(anonyme) @ add-to-cart.min.js?ver=9.1.4:1
each @ jquery-3.7.0.js:389
a.updateFragments @ add-to-cart.min.js?ver=9.1.4:1
dispatch @ jquery-3.7.0.js:5135
elemData.handle @ jquery-3.7.0.js:4939
trigger @ jquery-3.7.0.js:8619
(anonyme) @ jquery-3.7.0.js:8697
each @ jquery-3.7.0.js:383
each @ jquery-3.7.0.js:205
trigger @ jquery-3.7.0.js:8696
(anonyme) @ add-to-cart-variation.js?ver=6.6.1:111
fire @ jquery-3.7.0.js:3213
fireWith @ jquery-3.7.0.js:3343
done @ jquery-3.7.0.js:9617
(anonyme) @ jquery-3.7.0.js:9878
load
send @ jquery-3.7.0.js:9897
ajax @ jquery-3.7.0.js:9511
jQuery. @ jquery-3.7.0.js:9667
(anonyme) @ add-to-cart-variation.js?ver=6.6.1:93
dispatch @ jquery-3.7.0.js:5135
elemData.handle @ jquery-3.7.0.js:4939
When I deactivate your plugin, I no longer have this problem.
Do you have a solution?
Thanks in advance,
Tristan
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.