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
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We 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, 2024