Adding Order tag to my confirmation email

TBS2023
Explorer
83 1 5

Hello

When an order is placed - i have an app for clients to choose their delivery dates when ordering.

It adds a tag onto my orders.

How can i add this tag to my confirmation email to customers.

Thanks

Reply 1 (1)

JoesIdeas
Shopify Expert
2288 208 609

Go to Settings > Notifications, there you can edit the emails that your store sends.

 

This will help you to get the variables you want: https://help.shopify.com/en/manual/orders/notifications/email-variables

 

For example, you could do something like this:

 

{% for tag in tags %}
  {% if tag == "some tag" %}
    <p>Text to show if this tag is on the order</p>
  {% elsif tag == "another tag" %}
    <p>Text to show for some other tag</p>
  {% endif %}
{% endfor %}
• Creator of Order Automator (automate tagging, fulfillment, Amazon, notifications + more)
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Figure Out Why You're Not Getting Sales