πŸ‘·How to add fields on new order notification emails to STAFF?

  • Please go to Settings -> Notifications -> Staff Notifications

  • Select New Order

  • Click on the Edit code button to access the email template

Notifications -> Staff notifications
New Order

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 "

Find line.variant.title

Once you find "if" statement for line.variant.title, please find "endif" to ensure that this statement ends properly.

Right after that endif statement, please copy and paste this code snippet below.

Copy

{% 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 %}

Here is how it may look like eventually.

Final email template after the changes

Last updated