Skip to content

Documentation

  1. Home
  2. Docs
  3. WooVirtualWallet
  4. Standard 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.

 

Wallet Menu 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_history header="Last operations on your Virtual Wallet"]

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.

 

Partial Payment Tool

This shortcode is used to display the wallet partial payment tool. You can customize its appearance in the WooCommerce Tab.

[wallet_payment]

No arguments available on this shortcode.

 

Maximum Wallet Amount on Cart

This shortcode will show the maximum amount of cart credit that must be used on this cart. This value is useful if you set some products to be only buyable with standard payment methods.

[max_wallet_on_cart raw=""]

Attribute Description
raw (Optional) If set, the amount will be a simple text. Otherwise, it will be presented inside a stylable element.

 

Minimum Wallet Amount on Cart

This shortcode will show the minimum amount of cart credit that must be used on this cart. This value is useful if you set some products to be only buyable with wallet credit.

[min_wallet_on_cart raw=""]

Attribute Description
raw (Optional) If set, the amount will be a simple text. Otherwise, it will be presented inside a stylable element.

 

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