If you are looking for a way to hide regular prices and display the wholesale prices on your WooCommerce store depending upon the user roles, then I got you covered here!
So, the wholesale customers won’t be able to see the regular prices and the regular customers won’t be able to see the wholesale prices. It is very helpful if you sell to retail and wholesale customers both.
So, In today’s tutorial, I’ll show you how to hide WooCommerce prices and display wholesale prices depending upon the user roles with the help of Wholesale Pricing for WooCommerce plugin.
Here’s a sneak peek of the final results that we’ll achieve today.
On This Page
- 1 How to Hide WooCommerce Regular Prices and Display Wholesale Prices for Specific User Roles?
- 2 Wrapping Up
How to Hide WooCommerce Regular Prices and Display Wholesale Prices for Specific User Roles?
Follow the following steps to hide/display the regular and wholesale prices in WooCommerce based on user roles.
1. Install and Activate the Wholesale Pricing for WooCommerce Plugin
Note: You can skip this step if you have already installed and activated the Wholesale Pricing for WooCommerce plugin.
To install the Wholesale Pricing for WooCommerce plugin, you will need to install the Woosuite Core plugin and activate it with the help of a license key. We have created a Quick Start Guide for you to figure out how to install and activate the Wholesale Pricing for WooCommerce plugin.
2. Enable Show the Wholesale Price Only
2.1. Once you have installed and activated the plugin, now from the WordPress Admin Dashboard, navigate to the Woosuite » Wholesale Pricing.
2.2. Now, toggle Show the Wholesale Price Only.
2.3. Click on the Save changes button at the top to save the changes.
3. Edit the Product
3.1. Now from the WordPress dashboard, navigate to Products » All Products and you’ll see all the products available in your store.
3.2. Now hover your mouse on any product, and click on the Edit button to edit the product.
4. Set the Wholesale Price and User Role
4.1. Now on the Product Edit Page, scroll down to the Product Data section.
4.2. Enter the Wholesale Price in the Wholesale Price field.
4.2. Now from the Applies To dropdown, select Specific Role.
4.3. Once you select it, you’ll see a new Role field. In this new field, select the role in which you want to display the wholesale prices.
As I want to show the wholesale prices to wholesale customers only, so I selected the Wholesale Customer role.
5. Update the Product
Now scroll a bit above and click on the Update button to update the product.
6. Final Result
Now If I visit my product page as a regular customer, I’ll only see the regular price.
And, now if I visit the page as a wholesale customer, I’ll only see the Wholesale price.
Now you know how to hide the regular WooCommerce prices from wholesale customers. This is very helpful if you own a B2B and B2C WooCommerce Wholesale store.
If you have any queries, you can ask them in the comments or contact our customer support. Our dedicated customer support team typically replies within 48 hours.
To get started, download the Wholesale Pricing for WooCommerce plugin today!