How To Set WooCommerce Wholesale Prices

Published on: Updated: May 20, 2019

As an online store, you might consider selling products to both retail and wholesale customers. For this, you’d need to set WooCommerce wholesale prices, which would be different to products’ retail prices.

Ideally, you’d want to achieve this sort of functionality without having to create two separate websites or duplicate products – one for retail shoppers and the other for wholesale customers.

Wholesale customer accessing wholesale area.

One way to do this in WordPress is by using a WooCommerce role based pricing plugin. All you’d have to do is create a wholesale user role, and put your wholesale products in a separate category. This way, retail customers would see the standard prices whereas wholesale customers would be able to see discounted prices in the wholesale area.

In this article, we’ll show you how to set up all of this, and add wholesale prices on your WooCommerce store in five easy steps.

Setting WooCommerce wholesale prices using user role protection

The WooCommerce Protected Categories plugin allows you to have a single version of each product and assign it a different price for different user roles. For example, the user role Retail customer might see Product A available for $25 whereas user role Wholesale customer would see Product A available for $15.95.

WooCommerce Protected Categories

Set WooCommerce wholesale prices and sell to both retail shoppers and wholesale customers!

GET THE PLUGIN

With this implementation, each wholesale customer will have their own user account on your online store. This means that they’ll only be able to view WooCommerce wholesale prices when they log in to their account. The wholesale area will be hidden from standard retail customers i.e. customers who do not have a wholesale customer account.

Here’s what will happen when a regular customer tries to access the wholesale area:

Retail shopper trying to access the wholesale area.

And here’s what happens when a wholesale customer accesses the wholesale area after logging into their account:

Wholesale customer accessing wholesale area.

The key benefit of using a role-based plugin – like WooCommerce Protected Categories – is so you don’t have to create two different sites. You can use the plugin to restrict access to the wholesale products and/or area. This way, only your wholesale customers would be able to unlock view wholesale pricing and place orders.

How to set wholesale prices on your WooCommerce store using WooCommerce Protected Categories

With the WooCommerce Protected Categories plugin you can easily set wholesale pricing on your online store. This involves using the plugin to create a private (hidden) WooCommerce category which only wholesale customers can access by logging into their user accounts.

Assuming you already have a WooCommerce store set up with some products added to it, here’s what you need to do to set WooCommerce wholesale prices:

Step #1: Install and activate the WooCommerce Protected Categories plugin

Purchase the WooCommerce Protected Categories plugin and install and activate it to your WordPress website. Once that’s done, head over to WooCommerce -> Settings -> Products -> Protected categories to activate the license key.

Activate the plugin license key

Click the Save changes button at the bottom of the screen to continue.

Step #2: Create a user role for wholesale customers

Install the free User Role Editor plugin to your website in order to create a new WordPress user role for wholesale customers.

Here’s what you need to do once the plugin is installed and activated to your online store:

Create a new user role for wholesale customers.

  1. Head over to Users -> User Role Editor from the WordPress dashboard.
  2. Click the Add Role button.
  3. In the Add New Role pop-up, set the following attributes for the new user role:
    1. Role name (ID). This is a unique ID for the user role (e.g. wholesale_customer).
    2. Display Role Name. This is the user role name that appears in the back-end (e.g. Wholesale Customer).
    3. Make copy of. Use the drop-down menu to select Customer (customer).
  4. Click the Add Role button to proceed.

Step #3: Create categories for your public and private online stores

In this step, we’ll create two separate categories – one for your retail customers and the other for wholesale customers.

For retail customers:

Set the main store category's visibility to Public.

Navigate to Products -> Categories from the WordPress admin panel and create a category for your public shop. For example, you might call it Main Store.

This will be the store that retail customers will be able to view when they land on your online store. It will display standard retail prices. Make sure the Visibility for the retail store category is set to Public. Click the Add new category button to continue.

For wholesale customers:

From the same screen, create a category for your wholesale customers. For example, you might call it Wholesale Store.

Set the wholesale store category's visibility to Protected.

This will be the store that wholesale customers see when they log in to their user accounts. It will display WooCommerce wholesale prices. Make sure that the Visibility for the wholesale store category is set to Protected. Next, tick the User roles checkbox and select the Wholesale Customer (the wholesale customer role name you created in Step #2).

Pro tip: Selecting Administrator will let you (the store owner) access the wholesale area and view WooCommerce wholesale pricing from your own account, as well!

Click the Add new category button to continue.

The categories list on the right-hand side of the screen should mark the standard retail store category as Public and the wholesale store category as Protected – user role.

Categories list

Step #4: Add products to your wholesale category

Head over to Products -> All Products and put the wholesale products in the new (protected) wholesale store category you created in Step #3.

Quick edit WooCommerce products.

To do this, simply hover over each WooCommerce wholesale product and click on the Quick Edit link. Next, select the wholesale store category from the Product categories option. Following our example, this would be Wholesale Store.

Click the Update button to proceed.

Note: If you want to sell the same product to both retail and wholesale customers, simply duplicate the product (you can use this free plugin to do so) and categorize one SKU under the retail store category (i.e. with standard retail pricing) and the other under the wholesale store category (i.e. with WooCommerce wholesale pricing).

This way, the product available to retail shoppers would have its own price and the same version of the product available to wholesale customers will have a discounted price.

Step #5: Create user accounts for wholesale customers

You’ll also need to create user accounts for your wholesale customers so that they can log in and view the wholesale area. Here’s what you need to do:

Create a user account for a wholesale customer.

  1. Head over to Users -> Add New from the WordPress dashboard.
  2. Fill out the form in the Add New User screen.
  3. Make sure you assign them the wholesale customer role you created in Step #2. Following our example, this would be Wholesaler Customer.
  4. Click the Add New User button to continue.

Repeat the above steps to create as many wholesale user accounts as you need. This way, whenever your wholesale customers log in, they will be able to view the wholesale area and products with WooCommerce wholesale prices.

If you’d like your wholesale customers to be able to create their own accounts, you can use the Gravity Forms with the User Registration Add-On to create a form which can go on a new registration page on your website. Gravity Forms lets you either automatically approve new users, or do so manually, so you’ll be able to have customers approved as per your preference.

Bonus: Displaying wholesale prices using WooCommerce Product Table

One of the most effective ways to display wholesale products in your online store is by listing them in a product table. This makes it easy for customers to be able to quickly find what they’re looking for and add products to cart without having to visit the single product page first.

WooCommerce Product Table

Show your wholesale products in a searchable, filterable, and sortable table!

GET THE PLUGIN

Here’s how you can display products – with WooCommerce wholesale prices – in a product table layout:

  1. Get the WooCommerce Product Table plugin and install and activate it to your website.
  2. Head over to the plugin’s settings page (i.e. WooCommerce -> Settings -> Products -> Product tables) and:
    1. Activate your license key following the instructions provided in the purchase confirmation email.
    2. Set the default settings for your product table.
  3. Add the WooCommerce Product Table shortcode (i.e. [product_table]) to the page you want it to appear on.

Once you’re done, it will look something like this:

Front-end preview of the wholesale product table

Note: For in-depth, step-by-step instructions on how to display wholesale products in a product table, be sure to check out this guide and the plugin documentation.

Conclusion

If you want to be able to sell to both retail shoppers and wholesale customers, you can use the WooCommerce Protected Categories plugin to create a separate wholesale area to display WooCommerce wholesale pricing.

WooCommerce Protected Categories

Set WooCommerce wholesale prices and sell to both retail shoppers and wholesale customers!

GET THE PLUGIN

With both of the WooCommerce plugins we shared in this article — WooCommerce Protected Categories and WooCommerce Product Table — you’ll be able to set wholesale prices and let logged in wholesale customers place their wholesale order easily.

Do you have any questions about how to create a wholesale area on your online store or set WooCommerce wholesale prices? Let us know in the comments section below. You can also read our full tutorials on creating a WooCommerce wholesale store, and creating a WooCommerce wholesale order form.

Filed under: WooCommerce Product Table, WooCommerce Protected Categories , ,