Skip to content
IvaSure add-ons and services for SureCart storesJoin the POD waitlist

Gift card shortcodes and block

1 min read
Published
Category
Reference

Five shortcodes and one block. Only two are needed by a normal store: the redeem page and, if you want it, the balance lookup.

Shortcodes

ShortcodeRendersBelongs on
[ivasure_gift_card_redeem]The redeem form, where a recipient enters a code.A page of its own, selected as the Redeem Page.
[ivasure_gift_card_balance]Balance lookup and recovery. Masked, and requires verification.A page of its own, selected as the Recovery Page.
[ivasure_gift_card_fields]The For myself / For someone else selector and recipient fields.A custom checkout only. Standard checkout shows these automatically.
[ivasure_gift_card_checkout_redeem]A field to apply a gift card during checkout.A custom checkout. Renders nothing unless Allow checkout redemption field is on.
[ivasure_gift_card_merch]A merchandising placement.Anywhere the placement targeting cannot reach.
Do not put the redeem form and the balance lookup on the same page
They ask for the same thing and do different things with it. A visitor who meant to check a balance and redeemed instead is a support ticket.

The block

Search the inserter for Gift Card Fields. Block name ivasure/gift-card-fields.

AttributeTypeDefault
defaultIntentstringself
intentControlstringradio
intentLayoutstringinline
styleVariantstringcard
titlestringempty
selfLabelstringempty
giftLabelstringempty
showSenderNamebooleantrue
showMessagebooleantrue
showDeliveryDatebooleantrue

Save to list