Skip to main content

Hints & Tips: Adding a Delivery Method Merge Tag

How to add a Delivery Method field to your Email and Ticket Templates

  1. Go to the Tools page, click Email or Ticket Templates and edit your Template.

  2. Put the Delivery Method Loop Tags inside a Delivery Method loop.

The easiest way is to copy the Products loop, paste it underneath, then edit it.

Example of a Delivery Method loop:

{% for delivery_method in TRANSACTION.DELIVERY_METHODS %}
<tr>
<td width="70%" align="left" style="
font-family: Arial, sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 24px;
padding: 15px 10px 5px 10px;
vertical-align: text-top;
">
{{ delivery_method.NAME }}<br />
</td>
<td width="30%" align="left" style="
font-family: Arial, sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 24px;
padding: 15px 10px 5px 10px;
text-align: right;
vertical-align: text-top;
">
{{ ORGANISATION.CURRENCY_SYMBOL }} {{
"{:,.2f}".format(delivery_method.GROSS) }}
</td>
</tr>
{% endfor %}

Did this answer your question?