I got it working. You need to resend the real giftcard that you get from the order(If you don’t have it in your mail inbox) and not any test preview. Have it set it up like YyOz and when i did that it worked. But it does not work in any test preview, atleast not for me.
Topic summary
The discussion centers on adding custom messages to gift cards in Shopify stores and displaying them in notification emails. The core issue: line-item properties added during checkout don’t automatically transfer to the generated gift card object.
Key Technical Challenge:
- Users can capture custom messages via line-item properties during purchase
- These properties appear in cart, checkout, and order summaries
- However,
gift_card.propertiesreturns empty when queried in notification templates or gift card liquid files - The
gift_cardobject theoretically supports properties, but the transfer doesn’t happen automatically
Working Solution (from yy0z):
- Add line-item properties using custom liquid in product template
- Access them in gift card notification via
gift_card.propertiesloop - Critical caveat: Properties only appear in actual test orders, not email previews
- Some users reported delays (properties appearing the next day), possibly due to caching
Important Discovery:
Shopify intentionally removes gift card recipient details from orders after fulfillment for privacy protection. This explains why properties may disappear post-checkout.
Current Status:
Some users successfully implemented the solution using Dawn theme, while others remain stuck. Testing requires actual orders rather than previews. Questions about using gift_card.note field and Shopify Flow integration remain partially unresolved.