Simple Store Credit

How can we help?

Search the documentation or ask the AI agent anything about the plugin.

Shortcodes reference

Updated September 14, 2026

Four shortcodes let you place store credit features on any page, post or widget. A copyable list also lives under Store Credit › Settings › Shortcodes. The wording they use follows your store credit label from the General tab.

[sscp_balance]

Outputs the logged-in customer’s credit. With no attributes it shows the total of account balance plus voucher credit.

[sscp_balance]
[sscp_balance type="account"]
[sscp_balance type="voucher"]
[sscp_balance type="total"]

[sscp_credit_history]

Outputs a table of the customer’s credit activity. Use rows to limit how many entries are shown.

[sscp_credit_history]
[sscp_credit_history rows="20"]

[sscp_credit_topup]

Outputs the buy-credit form so customers can load their wallet from anywhere on the site. It needs Allow customers to purchase store credit to be enabled under Store Credit › Settings › Credit Topup.

[sscp_credit_topup]

[sscp_balance_check]

A public voucher lookup that needs no login. Anyone can enter a code and see its remaining balance, status and expiry – ideal for gift recipients. It is rate limited, so the form cannot be used to guess at codes.

[sscp_balance_check]
[sscp_balance_check title="Check your gift card" description="Enter the code from your email." button="Check balance" placeholder="credit-xxxxxxxxxx"]

Notes

  • The first three require a logged-in customer, so put them on a page only account holders reach.
  • [sscp_balance_check] is the only one that works for logged-out visitors.
  • Amounts are shown in the currency the customer is viewing when a supported currency switcher is active.

Related

Was this article helpful?