Personalized checkout and custom promotions with Shopify Scripts
I am trying to create a conditional in the email notifications template.
I want to add a text to the confirmation email if the order has a specific tag.
{% if order.tags contains 'myTag' %} <p>Text to insert</p> {% endif %}
But is not working. I don't know how to acces the order tags.
I also tried with only "tags" instead "order.tags"
Thanks!!
Try removing "order."
According to the docs you don't need to reference the order object - https://help.shopify.com/en/manual/orders/notifications/email-variables#order-fulfillment
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024