Giftrocket for SureCart Documentation

⌘K
  1. Home
  2. Docs
  3. Giftrocket for SureCart D...
  4. 4. Checkout & Redemption
  5. 4.3 Gift Card Balance Checker

4.3 Gift Card Balance Checker

Let customers check how much is left on a gift card without going to checkout. Add the balance checker shortcode to any page, and customers enter their code to see the balance, original value and expiry date.

How to Configure

Step 1: Create a Balance Check Page

  1. Go to Pages → Add New Page.
  2. Give the page a title, for example Check Gift Card Balance.
  3. Click + to add a block, search for Shortcode and add it.
  4. Paste the shortcode below into the block.
[giftrocket_balance_check]
  1. Click Publish.

Note: [giftrocket_check_balance] works the same way, so you can use either name. The shortcode also works in page builders such as Elementor or Divi through their shortcode widget.

Step 2: Link to the Page

  1. Go to Appearance → Menus (or Appearance → Editor → Navigation for block themes).
  2. Add your new page to the header or footer menu so customers can find it.
  3. You can also link to it from your gift card email or product description.

Step 3: How Customers Check a Balance

  1. The customer opens the page and types their gift card code.
  2. They click Check Balance.
  3. They see the Available Balance, the Initial Value, the Expiration Date and the card status (Active, Fully Redeemed, Expired or Disabled), plus a Start Shopping button.

For security, only part of the code is shown in the result, for example GR7••••4HWA.

Customizing the Balance Checker

Add options inside the shortcode to change the text or hide parts of the result. Use only the options you need.

OptionWhat it doesDefault
titleHeading above the formCheck Gift Card Balance
descriptionShort text under the headingEnter your gift card code below to view your current available balance.
placeholderHint text inside the code boxEnter gift card code (e.g. GR-ABCD-1234)
button_textButton labelCheck Balance
show_initial_amountShow the card’s original value (true or false)true
show_expiryShow the expiry date (true or false)true
show_shop_buttonShow the Start Shopping button (true or false)true
shop_urlWhere Start Shopping links toYour SureCart shop page, or your homepage

Example with a shorter placeholder, a custom button and no expiry date:

[giftrocket_balance_check placeholder="Gift card code" button_text="Show my balance" show_expiry="false"]

Note: To stop people guessing codes, each visitor can check up to 5 codes per minute. After that they see a message asking them to wait a minute and try again.

How can we help?