I've got a script to track conversions from my Pinterest ads. I don't know how to make is show each item that was ordered. Here's the code:
I added three different items to my cart for a test order, but when I reached INVC and inspected the code, it shows the same item listed three times. What do I need to change?
Thanks for any help with this.
Code:
<mvt:foreach iterator="products" array="order:items"> { product_name: '&mvt:item:name;', product_id: '&mvt:item:code;', product_price: &mvt:item:price;, product_quantity: &mvt:item:quantity; }, </mvt:foreach>
Thanks for any help with this.
Comment