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 |
---|---|
37 | |
22 | |
21 | |
19 | |
14 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023