Display option on order invoice
Add option details to printed invoices produced by Shopify's Order Printer app.
Order invoice with Shopify Order Printer
The Product Options app integrates with Shopify's Order Printer, enabling option details to appear on printed invoices.
Steps to configure
2
5
Copy this code snippet into the 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 -%}
{{ p.last }}
{%- endif -%}
{% endunless %}
</div>
{% endfor %}
{% endif %}
</div>
Support
Last updated
Was this helpful?

