How can I show Avis option on Shipping Confirmation Email?

Step 1: Access Confirmation Email Template

  • Navigate to Settings > Notifications > Customer Notifications.

  • Locate and select Order confirmation

  • Click on the Edit code button to access the email template’s HTML code.

OR

Step 1: Access New Order Email Template

  • Navigate to Settings > Notifications > Staff Notifications

  • Locate and select New order

  • Click on the Edit code button to access the email template’s HTML code

Step 2: Place your cursor in the HTML body of the template use the shortcut Ctrl + F (Command + F on Mac) to open the search function.

Search for line.line_item.title in the existing code and the tag {% endif %}

Paste the following code snippet after the tag {% endif %}.

{% unless line.properties == empty %}
<ul>
  {% for property in line.properties %}
	{% if property.first contains '_apo' %}{% continue %}{% endif; %}
  <li> {{ property.first }}: {{ property.last }}</li>
  {% endfor %}
</ul>
{% endunless %}

Step 3: Save changes

Click on the “Save” button to apply the changes to the template.

Wait for approximately 30 seconds for the changes to take effect.

Last updated