Cardinal docs/Templates
Gift cards
Selling gift cards, sending one to someone else, and the page the recipient lands on.
A gift card is a product like any other, created under Products → Gift cards. Cardinal handles the three moments that follow: the product page, with an optional form for sending the card to someone else; the cart, which shows who it is for; and the gift card page, where the recipient finds the code.
Selling a gift card
- 1
Create the gift card product
Products → Gift cards → Create gift card product. Add a denomination for each value you want to sell — each one becomes a variant.
- 2
Check the product page
Gift cards use the product template, so the gallery, price and buy buttons work as on any product. The recipient form appears on its own.
- 3
Decide on the recipient form
It is on by default. Show recipient form for gift cards on the buy buttons block turns it off.
Buy buttons block
Lets customers check out instantly with Shop Pay, PayPal, and more.
Lets customers send a gift card to someone else on a date they choose. Dynamic checkout buttons are hidden while the form is in use.
Sending it as a gift
On a gift card product, an I want to send this as a gift checkbox sits above the add-to-cart button. Ticking it reveals four fields, and Shopify emails the card to the recipient instead of the buyer:
- While the box is ticked, the dynamic checkout button (Buy it now) hides, because express checkouts would drop the recipient's details. Unticking brings it back.
- A missing or invalid email shows its error under the field and moves focus to it. After a successful add, the form clears.
- Without JavaScript the checkbox is hidden and the fields always show; Shopify only sends the card to a recipient when they are filled in.
In the cart
The recipient's email, name, message and send date appear under the gift card's line, in the cart drawer and on the cart page, so the customer can check them before paying. Shopify's internal gift card fields stay hidden. See Cart.
The gift card page
The page the recipient lands on from the gift card email. It stands alone — no header, no footer, nothing to distract from the code — and takes its colors from the default color scheme in Theme settings → Layout.
- At the top, your store's logo from Settings → Brand in the Shopify admin — the theme's logo is a header setting, which this standalone page cannot read — or your store name if no brand logo is set.
- The card shows the remaining balance, with the original value struck through once it has been partly spent.
- Copy puts the code on the clipboard in one tap.
- A QR code under the code encodes the card, so it can be scanned to redeem it — at a Shopify POS checkout, for instance. It is drawn at 120 × 120 pixels on a white background so phone cameras read it reliably.
- When the card was sent as a gift, a note shows who it is for, the sender's message and the delivery date.
- Add to Apple Wallet appears when Shopify provides a wallet pass for the card.
- Print produces a clean printed version, QR code included, for a gift card that is going in an envelope.
- An expired card, or one you deactivated, is greyed out with a notice saying which — instead of showing a code that will not work.
There is nothing to configure on the page itself. It styles itself from your theme settings.
If something is missing
Still stuck? Contact support and we will help.