Display options in Packing Slip
Using Shopify Order Printer
1
2

3

4
5
<div class="gpo-properties">
{% assign property_size = line_item.properties | size %}
{% if property_size > 0 %}
{% for p in line_item.properties %}
<div class="gpo-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 -%}
<span>{{ p.last }}</span>
{%- endif -%}
{% endunless %}
</div>
{% endfor %}
{% endif %}
</div>
6
Through Shopify Settings
1
2
3

4
5
<div class="gpo-properties">
{% assign property_size = line_item.properties | size %}
{% if property_size > 0 %}
{% for p in line_item.properties %}
<div class="gpo-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>
Last updated
Was this helpful?