All things Shopify and commerce
this is in additional scripts section of shopify and im trying to send a pixel event for certain rules. i have pricing rules in place which work fine but this one isnt saving(assuming because it's wrong
{% for line in checkout.line_items %} {% assign found_collection = false %} {% for collection in line.product.collections %} {% if collection.title == 'Collection NAME' %} {% assign found_collection = true %} {% endif %} {% endfor %} {% if found_collection == true %}
If it isn't saving because of an assumed error in the code, are you able to post the entire code block?
User | RANK |
---|---|
19 | |
18 | |
17 | |
14 | |
12 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023