Customise Order Notofication email accourding to order tag

Highlighted
New Member
1 0 0

Hi

I try to customise the order confirmation email then

if there is a tag of " pre-order" in the order , add a message to the confirmation email. otherwise send the curent email .

I already add the following code :

{% for tag in order.tags %}
{% if tag == 'pre-order' %}
<p>my message is here </p>
{% endif %}
{% endfor %}

But it doesnot do anything

anyone can help on this?

0 Likes