Skip to content

Documentation

  1. Home
  2. Docs
  3. WooVirtualWallet
  4. Gems Mode
  5. Shortcodes

Shortcodes

 

Here you will find documentation about these shortcodes :

You also can get information inside the plugin. Go to WooVirtualWallet → Appearance → Shortcodes.
 

Simple Wallet Balance

This simple shortcode is used to display the current user’s wallet balance with no decoration. This is very convenient if you want to display the balance within a phrase for example.

[wallet_simple_balance raw="true"]

Attribute Description
raw (Optional) If set, the result will be a simple text. If not, the result will be embedded in a stylable DOM element

 

Wallet Balance

This shortcode is used to display the current user’s wallet balance. It is equivalent to the balance widget.

[wallet_balance header="Your Wallet Balance"]

Attribute Description
header (Optional) If set, it will change the default header above the balance.

 

Wallet History

This shortcode is used to display the current user’s wallet balance. It is equivalent to the balance widget.

[wallet_history header="Last operations on your Virtual Wallet"]

Attribute Description
header (Optional) If set, it will change the default header above the history.

 

Gems Cart Total

This simple shortcode is used to display the amount of gems owned and used on the current cart.

[gems_resume]
 

Gems to Discount

This shortcode is used to display the gems to discounts tool.

You can customize its appearance in the WooCommerce Tab.

[gems_to_discount]

Was this article helpful to you? Yes No
Scroll To Top