Display options in packing slip
Add option details to your packing slips, through Order Printer or Shopify's own packing slip template.
There are two ways to do this. Use whichever matches how you print your packing slips.
Using Shopify Order Printer
Our Product Options app works with Shopify's Order Printer app, so you can include custom option details right on your packing slips.
5
Copy the code and paste to Template Details section
<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>
Through Shopify settings
This method lets you directly update Shopify's built-in packing slip template from your store's settings.
3
5
Copy the code and paste to Edit Packing Slip Template field
<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?


