The gift_card.liquid template renders the gift card page, which displays the gift card issued to a customer upon purchase.

The gift_card object

You can access the Liquid gift_card object to display the gift card details.

QR code

You can include a QR code link to the store by adding JavaScript that generates a QR code. Add the following snippets in the <head> and <body> elements of the page, respectively:

Apple Wallet Passes

You can include Apple Wallet Passes by adding the following snippet to the <body> element of the page:

Display only the gift card details

If you don’t want to include theme elements, like the header and footer, you can choose to render the gift_card.liquid template without no layout, or a custom layout, using the Liquid layout object.

For example: