Display option in staff order notification
Add option details to the New order email your store owner and staff receive.
This is the email the store owner or staff receives when a customer places a new order. To include product option details, you can customize the notification template by following these steps:
1
3
Download the New Order template (click this button to download)
4
Open the downloaded file and copy the code
<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>and Paste to Email body (HTML) box

Last updated
Was this helpful?

