Adding Order tag to my confirmation email

Adding Order tag to my confirmation email

TBS2023
Shopify Partner
241 1 20

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

Replies 3 (3)

JoesIdeas
Shopify Partner
2462 227 666

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 [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics
Wise_Ape
New Member
5 0 0

Hello, I believe this is very close to what I am looking for. Except there is also a tag that shows the type of shipping. What code could I use that would search the tags for a date and then just display the date, not any others?

Wise_Ape
New Member
5 0 0

Did you ever find a good solution? I am looking to do the same exact thing.