Skip to content

Documentation

  1. Home
  2. Docs
  3. WooVirtualWallet
  4. Standard Mode
  5. Widgets

Widgets

This documentation is for the WooVirtualWallet plugin

WooVirtualWallet has 3 different widgets in standard mode. Here you will find documentation about these widgets.

Summary

Wallet Balance

The wallet balance is used to display the current wallet credit to users.

Add the Widget

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.

  • Title : Set a title.
  • Header : Set a hearder.

Save the widget

Style the Widget

Go to WooVirtualWallet → Appearance → Widgets and look for Wallet Balance.

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

Wallet History

The wallet history is used to display a list of past wallet transactions relative to the user.

Add the Widget

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.

  • Title : Set a title.
  • Header : Set a hearder.
  • Limit Unit : Select between the different values
    • Number of months to show : Define the range in months
    • Number of row (last operations) to show : Define the range in lines
  • Months or max. Row count : Set the number according to the Limit Unit choice.

Save the Widget

Style the Widget

Go to WooVirtualWallet → Appearance → Widgets → Wallet History.

Select the elements you want to style and modify the values accordingly.

  • Enable Excel Export Button : if checked, customers will be able to export and excel sheet containing their history.

Don’t forget to save your changes.

Wallet Balance Menu

The wallet balance can be displayed inside your website menus.

Adding the menu

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.

Warning

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).

 

Example

Using the Custom Links

Enter the desired values of your menu entry point and save your menu.

Style and Set the Menu

Go to WooVirtualWallet → Appearance → Widgets → Wallet Balance Menu.

Select the elements you want to style and modify the values accordingly.

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.

Don’t forget to save your changes.

Scroll To Top