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

Place the gift card fields yourself

2 min read
Published

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.

OptionDefaultWhat it changes
defaultIntentselfWhich option is selected before the buyer chooses.
intentControlradioHow the choice is presented.
intentLayoutinlineWhether the two options sit side by side or stacked.
styleVariantcardThe surface the fields are drawn on.
selfLabel / giftLabelemptyOverride the wording of the two choices.
showSenderNameonAsk who the gift is from.
showMessageonOffer a personal message.
showDeliveryDateonLet the buyer choose when it arrives.

The shortcode

Where blocks are not available, the same fields have a shortcode.

Recipient and intent fields
[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.

Apply a gift card during checkout
[ivasure_gift_card_checkout_redeem]
Do not place it twice
Adding the block or shortcode to a checkout that is already showing the fields automatically gives the buyer two intent selectors and two sets of recipient fields. Only one of them is bound to the order, and which one is not obvious. If you place them by hand, place them once.

Save to list