Tuesday, April 1, 2025 12:59:36 AM
carlosdga
carlosdga
Support
//addToCart
$('.add-to-cart-button, .product-box-add-to-cart-button').each(function () {
var productid = GoogleEEHelper._getProductId(this);
if (productid > 0) {
$(this).click({ productid: productid }, function (event) {
event.preventDefault();
GoogleEEHelper.AddToCart('addToCart', event.data.productid);
});
}
});