Hello, I am running a webstore selling footwear which allows users to select a “Not Sure” size option if they are not sure of the size of the footwear. Those who purchase the “Not Sure” size option would receive a sizing kit and a gift card that could be used to offset their purchase once they have determined the size of the footwear.
I’ve created a shopify flow process (see below) that allows me to send a gift card via email to those who purchase the “Not Sure” size variant, however, I would also like to insert a custom message in the gift card notification that is based on conditional logic.
I have tried the following code in the new gift card template- 2 methods, 1 using the note field with the note inserted into the gift card. The other using the customer tags field. However, both don’t seem to be working. Was wondering if anyone had any success with customising gift card templates to show a message based on a condition. Any form of help is appreciated, thanks!
{% if gift_card.note contains “Not Sure” %}
Thank you for your purchase! Kindly use this gift card to offset your purchase once you've used the sizing kit to confirm the child's size.
{% endif %}{% if customer.tags contains “NotSureGiftCard” %}
Thank you for your purchase! Kindly use this gift card to offset your purchase once you've used the sizing kit to confirm the child's size.
{% endif %}

