Display options in confirmation email
Add option details to the order confirmation email your customer receives.
This is the email your customer receives right after placing an order. By default, Shopify's order confirmation email doesn't include custom option details — but you can change that!
📌 Follow these steps
2
4
Copy the code and Paste to Email body (HTML) box
<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>
Last updated
Was this helpful?

