How to add a Addtocart code in the Modular theme?

New Member
1 0 1

Hi guys!


Been having trouble finding the AddtoCart coding in my Modular theme. I have looked in the product.liquid template where pinterest say it should be. However, it is not there.

I have also tried looking for the product-template.liquid, or product-form.liquid templates but i am not able to find them either. 

The instruction was to paste the following code:

onclick="pintrk('track', 'addtocart');"

5. Place the following code within the ending caret of the <button> or <input> element


Does anyone know how to solve this problem? Would really appreciate some insight!





1 Like