Hello!
Could someone help me out with “Addtocard” Pinterest code, please?
I’m trying to input the code on my Debutify 4.9.0 theme but, I don’t find any or element in “product.liquid”. So I don’t know where to add the code and also I’m not sure if there is a unique code or is the same one for each theme.
What I need to do is this:
“Under ‘Templates’ look for code files named “product.liquid”, or “product-template.liquid”, or “product-form.liquid” and open it. Note that this may vary depending on the theme you have installed, but it’s most common to see add to cart button code in the products.liquid file or equivalent.”
then
“Place the following code within the ending caretof the or element:”
onclick=“pintrk(‘track’, ‘addtocart’);”
Please let me know where I should put this code, since I don’t find the spot in the mentioned template codes.
Thank you in advance,
Ioana