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
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025