πŸ›οΈHow to show custom fields on confirmation email to CUSTOMER?

Please go to Settings -> Notifications -> Customer Notifications -> Order Confirmation

Settings -> Notifications -> Customer Notifications -> Order Confirmation
Edit Code

Then click to Edit Code to access confirmation email template.

Simply place your cursor on email body and use the keyboard shortcut Ctrl + F (or Command + F on Mac) to activate the search function there. Please look for " line.variant.title "

After locating β€œ{% endif %}β€œ, paste the following code snippet:

{% for property in line.properties %}
  {% assign property_first_char = property.first | slice: 0 %}
  {% if property.last != blank and property_first_char != '_' %}
    <span class="line-item-description-line">
      {{ property.first }}: {{ property.last }}
    </span><br/>
  {% endif %}
{% endfor %}

Click the 'Save' button to apply the changes to the template.

Last updated