Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi - I'm trying to access the order id or customer id from the 'Gift card issued' template but not having any luck.
Variables such as {{ gift_card.customer.name }} work but {{ gift_card.customer.id }} doesn't. Neither does {{ order.id }} or {{ gift_card.customer.last_order }}
I'm trying to do this as a need a unique incremental number for each gift card issues (so was thinking order or customer id would do).
Does any have any idea how I could access one of these value or create a uniuqe incremental number in the template for each gift card ordered some other way?
Thanks loads,
Gareth
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025