Construction and construction materials

Squeeze Catalog / View / JavaScript / Facebook / Facebook_Pixel.js Nidita

cart.add = function(productID, quantity) {
fireProductInfoEvent(`AddToCart`, productID, quantity);
oldCartAdd.apply(oldCartAdd, [productID, quantity]);
};

Замените на

 cart.add = function(productID, elem) {
let quantity = $(elem).find(`.qty-switch__input`).val();

if(typeof(quantity) == `undefined`) quantity = 1;

fireProductInfoEvent(`AddToCart`, productID, quantity);
oldCartAdd.apply(oldCartAdd, [productID, elem]);
};

We provide professionally supporting you in choosing products needed for repair and construction!

Send a request and contact you as soon as possible

Step 1/2

Send "By clicking, you agree to the processing of personal data