Order emails
Show the customer's choices in the order confirmation email. This step is optional and only changes the email template, not your theme.
Add the snippet
In your Shopify admin, open Settings → Notifications → Customer notifications → Order confirmation.
Click Edit code.
Search the code for this line (Ctrl+F or Cmd+F):
html<h3>Order summary</h3>Paste the snippet below on a new line right below it.
Click Save.
liquid
{% comment %} Dynamic fields: customer choices {% endcomment %}
{% for dp_line in subtotal_line_items %}
{% assign dp_shown = false %}
{% for dp_property in dp_line.properties %}
{% assign dp_first_char = dp_property.first | slice: 0 %}
{% if dp_property.last != blank and dp_first_char != '_' %}
{% unless dp_shown %}
{% assign dp_shown = true %}
<p style="margin: 0 0 12px;"><strong>{{ dp_line.title | escape }}</strong>
{% endunless %}
<br><span class="order-list__item-variant">{{ dp_property.first | escape }}: {{ dp_property.last | escape }}</span>
{% endif %}
{% endfor %}
{% if dp_shown %}</p>{% endif %}
{% endfor %}Check it
Click Preview on the template, or place a test order with a customized product. The email lists each customized product with the customer's choices below it. Hidden values (names that start with _) are not shown.
Remove it
Open the template again, delete the lines from {% comment %} Dynamic fields to the last {% endfor %} of the snippet, then save. You can also click Revert to default to restore Shopify's original template.
