Add to cart error
-
Hello,
we created a shop with WooCommerce and Toolset. For tracking we installed your plugin and it works perfect except the add to cart event for variation products. When adding a variation product to the cart the slide in cart of the Astra theme don’t show (it works perfect for simple products) and we get this error message:
Uncaught Error: Google Analytics for WooCommerce: Could not read product ID from the button given inadded_to_cart
event. Check whether WooCommerce Core events or elements are malformed by other extensions. at C.document.body.onadded_to_cart (main.js?ver=50c6d17…:1:4726) at Object.trigger (jquery.min.js?ver=3.7.1:2:70175) at HTMLBodyElement. (jquery.min.js?ver=3.7.1:2:70726) at Function.each (jquery.min.js?ver=3.7.1:2:3129) at ce.each (jquery.min.js?ver=3.7.1:2:1594) at ce.trigger (jquery.min.js?ver=3.7.1:2:70701) at Object.success (single-product-ajax-…js?ver=4.8.0:1:1648) at c (jquery.min.js?ver=3.7.1:2:25304) at Object.fireWith as resolveWith at l (jquery.min.js?ver=3.7.1:2:77782)
Could you please provide some solutions to help resolve the issue?Thank you in advance,
Stefan
- You must be logged in to reply to this topic.