gift_card.liquid file renders the gift card issued to a customer upon purchase. The URL to the
gift_card.liquid template is found in email notifications sent to the customer when a gift card is purchased.
gift_card.liquid template, you can use the gift_card object's attributes to display a gift card's details.
gift_card.liquid template is created automatically when the Gift Card feature is activated in a store.
The gift card template must support QR codes and Apple Wallet Passes. You can ensure the template supports these requirements by adding some code to the
Your gift card template must include a QR code link to your store.
Include the following script in the
<head> element of
Then, in the
<body> of the template, include the following code:
Your gift card template must also support Apple Wallet Passes. You can do this by including the following code in the
<body> element of the
This code is usually included in the
Displaying only the gift card details
If you don't want to include theme elements (logo, menu, footer, etc.) inside the
gift_card.liquid template, include a
layout tag with a parameter of