Place the gift card fields yourself
You do not need this for a normal store. Checkout shows the intent selector and recipient fields automatically whenever a gift card is in the order, and the automatic placement is the one that keeps working when SureCart changes its checkout.
Reach for a manual placement only when you have rebuilt checkout yourself and need the fields in a particular spot.
The block
In the editor, add Gift Card Fields. It renders the intent selector and the recipient fields, and exposes the labels so they can match the voice of the rest of your checkout.
| Option | Default | What it changes |
|---|---|---|
defaultIntent | self | Which option is selected before the buyer chooses. |
intentControl | radio | How the choice is presented. |
intentLayout | inline | Whether the two options sit side by side or stacked. |
styleVariant | card | The surface the fields are drawn on. |
selfLabel / giftLabel | empty | Override the wording of the two choices. |
showSenderName | on | Ask who the gift is from. |
showMessage | on | Offer a personal message. |
showDeliveryDate | on | Let the buyer choose when it arrives. |
The shortcode
Where blocks are not available, the same fields have a shortcode.
[ivasure_gift_card_fields]There is a second one for the other half of the job - letting a shopper apply a gift card while checking out. It respects the Allow checkout redemption field setting, so it renders nothing when that is off.
[ivasure_gift_card_checkout_redeem]Was this page helpful?