1. Knowledge Base
  2. WooCommerce Wholesale Pro
  3. Getting Started

Wholesale registration and user management

The WooCommerce Wholesale Pro plugin lets you create one or more wholesale user roles. Once you’ve set them up, you can start adding wholesale users to your store.

Adding wholesale users

You can create wholesale user accounts manually, or allow people to register for their own account.

Wholesale registration form

WooCommerce wholesale registration form with moderation

There are 2 ways to create a wholesale registration form:

  1. Enable the ‘Wholesale Registration Form’ option on the plugin settings page to display a registration form next to the wholesale login form (as shown in the above screenshot).
  2. You can also use the [wholesale_registration] shortcode to add a registration form anywhere on your site. For example, this allows you to create a dedicated wholesale registration page which is separate from the wholesale login page.

Moderating new registrations

The plugin settings page lets you choose whether or not to hold new wholesale registrations for approval by an administrator.

If you do not enable moderation, then wholesale users will receive their login details in the ‘New wholesale account‘ email. They can log in and access the wholesale store immediately.

If you enable moderation, then the following will happen when someone submits the wholesale registration form:

  1. The new wholesale user will receive the ‘Wholesale registration pending‘ email advising them that they cannot log into the wholesale area until their account has been approved.
  2. The administrator (or the recipient specified in the email settings) will receive the ‘New wholesale user‘ email. 
  3. This email contains a link to the ‘Edit User’ screen in the WordPress admin, where you can approve or reject the application as follows:
    • If you approve the new wholesale user’s account, then they will receive the ‘Wholesale registration approved‘ email.
    • If you reject the application, then the user’s account will be deleted and they will receive the ‘Wholesale registration declined‘ email.

Bulk approvals

You can also bulk moderate new wholesale registrations by going to Users → Pending Wholesaler in the WordPress admin:

Bulk approve pending wholesaler users

Adding wholesale users manually

You can also create new wholesale accounts manually in the WordPress admin:

  1. Go to Users → Add New.
  2. Add the user’s details as required.
  3. Select a wholesale role from the ‘Role’ dropdown.
  4. Click the ‘Add New User’ button.
  5. The new wholesale user will receive their login details by email so that they can access the wholesale area.

Bulk importing wholesale users

If you have a lot of wholesale users to add – for example, if you are migrating from another e-commerce platform – then you may wish to import them in bulk. To do this, you need to install a WooCommerce user import plugin which lets you select which user role to import the users to.

We recommend WordPress Users & WooCommerce Customers Import Export. Use the plugin documentation to prepare a CSV file containing all the data for the wholesalers to be imported, and then run the import. This plugin lets you choose which role to import users to, so you need to import them to the role(s) created by WooCommerce Wholesale Pro.

Note: WooCommerce Wholesale Pro prefixes the slug for each role with wcwp_. For example, the default role that is created when you install the plugin is called wcwp_wholesale so you need to use this in your CSV file.

Migrating users from other wholesale plugins

We’ve provided a separate article on how to migrate users from other wholesale plugins such as WooCommerce Protected Categories or Wholesale Suite.

Viewing wholesale users

You can view and manage all your wholesale users by going to the Users section of the WordPress admin. You will see a tab for each user role, including all your wholesale roles.

Still need help?
If searching the knowledge base hasn't answered your question, please contact support.

Related Articles