{% if fulfillment.tracking_company and fulfillment.tracking_company != 'Other' %}
{{ fulfillment.tracking_urls }}
{% else %}
{% assign custom_tracking = fulfillment.tracking_numbers | split: '-' %}
{% if custom_tracking[0] contains "XX" %}
CUSTOM_TRACKING_URL={{ custom_tracking[1] }}
{% elsif custom_tracking[0] contains "YY" %}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% for product in collection.products %} | |
| {% comment %} | |
| {% capture remainder %}{{forloop.index | modulo: 2}}{% endcapture %} | |
| {% if remainder == '0' %} | |
| {% assign is_even = true %} | |
| {% else %} | |
| {% assign is_even = false %} | |
| {% endif %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |