Skip to content
  1. Home
  2. Docs
  3. WooVirtualWallet
  4. Standard Mode
  5. Appearance

Appearance

WooVirtualWallet provides different widgets or displayed elements for your website. Each widget can also be used as a shortcode.

Wallet Balance

The wallet balance is used to display the current wallet credit to users
To add the widget to your website, go to Appearance → Widgets and add the WooVirtualWallet balance widget to your widget area.



Enter the desired values in the Title and Header sections and save the widget.
If you want to change the appearance of the widget, go to WooVirtualWallet → Settings → Appearance and look for Wallet Balance



Select the elements you want to style and modify the values accordingly. Don’t forget to save your changes.

If you prefer, you can use the following shortcodes inside your pages.
Shortcode
[wallet_balance]
Description
This shortcode lets you display the customer’s balance the same way than the widget
Options
This shortcode doesn’t accept options
WooVirtualWallet provides another shortcode to display the user’s wallet balance :
Shortcode
[wallet_simple_balance]
Description
Displays the user’s wallet balance without any styling or presentation
Options
This shortcode doesn’t accept options

Wallet History

The wallet history is used to display a list of past wallet transactions relative to the user
To add the widget to your website, go to Appearance → Widgets and add the WooVirtualWallet History widget to your widget area.



Enter the desired values in the Title,Header and Period sections and save the widget.
If you want to change the appearance of the widget, go to WooVirtualWallet → Settings → Appearance and look for Wallet Balance



Select the elements you want to style and modify the values accordingly. Don’t forget to save your changes.

If you prefer, you can use the following shortcode inside your pages.
Shortcode
[wallet_balance header="your custom text" period="3"]
Description
This shortcode lets you display the customer’s balance the same way than the widget
Options
  • Header : The text displayed above the history table
  • Period : The period to display in months. If not set, the default value is 3 months

Wallet Balance Menu

The wallet balance can be displayed inside your website menus
First, you need to add the menu entry inside your menu. In your WordPress administration, go to Appearance → Menus and select the menu in which you want to add the wallet balance. Add a new menu entry point. It can be anything you want, page, post or custom link. However, we suggest using the custom link.
By default, if users are not logged in, they will see this menu item as you’ve just set it. It will be overriden for logged in users. You can decide whether you want to hide this menu entry in WooVirtualWallet settings or choose to display it and use it for another purpose (Invite customers to log in for example).


Enter the desired values of your menu entry point and save your menu. Then, go to WooVirtualWallet → Settings → Appearance and look for Wallet Balance Menu



Here, you will find different settings :

  • Wallet balance menu item : Select the menu entry point you’ve previously created in the dropdown list. The selected item will be replaced by the wallet balance for logged in users.
  • Behavior for an unlogged users : Select how the menu will appear for unlogged users. You can decide to show the default menu entry or to hide it alltogether.
  • Style : Use the styling tool to modify how the wallet balance will be displayed in the menu.

If you prefer, you can use the following shortcode inside your menus.

Shortcode
[wallet_menu_balance]
Description
This shortcode lets you display the customer’s balance in a menu
Options
This shortcode doesn’t accept options
Scroll To Top