Display option in Staff order notification
1

2

3
4
<div class="order-list__item-properties">
{% assign property_size = line.properties | size %}
{% if property_size > 0 %}
{% for p in line.properties %}
<div class="order-list__item-property">
{% assign first_character_in_key = p.first | truncate: 1, '' %}
{% unless p.last == blank or first_character_in_key == '_' %}
<span>{{ p.first }}: </span>
{%- if p.last contains '/uploads/' -%}
<a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
{%- else -%}
{{ p.last }}
{%- endif -%}
{% endunless %}
</div>
{% endfor %}
{% endif %}
</div>
5
Last updated
Was this helpful?