Wholesale Suite creates a special 'Wholesale Customer' user role that lets you manage pricing for all your wholesale customers in one place. When these customers log in, they'll automatically see their special wholesale prices.
To make sure your price hiding works correctly, you'll need a test Wholesale Customer account. This helps you check how your WooCommerce store looks from both a wholesale customer's view and a regular visitor's perspective.
Creating a wholesale account is simple. First, just go to Users » Add New in your WordPress dashboard.
Adding a new user in WordPress
Now, fill in the basic information like email address and username, then select 'Wholesale Customer' from the 'Role' dropdown menu.
Finally, click 'Add New User' to create the account.
Changing a customer's wholesale user role
You might also want to prevent wholesale customers from making regular-priced purchases when they don't meet wholesale conditions. By default, the plugin shows a warning, but customers can still buy at retail prices.
To change this, head to Wholesale » Roles and find the 'Wholesale Customer' role. Click on the 'Edit' button below the role to customize it.
Editing the wholesale customer role
Then, check the box for 'Prevent purchase if wholesale condition is not met.'
After that, just click 'Edit Wholesale Role' to save your changes.
Editing the wholesale user role
Step 3: Hide Prices and Cart Buttons
Next, you'll need to hide the prices and mint database cart page buttons from regular online store visitors.
To do this, you can go to Wholesale » Settings . Make sure you're in the 'Wholesale Prices' section, and navigate to the 'Price' tab.
The Price settings for Wholesale Suite
Then, scroll down to the 'Hide Price and Add to Cart button' setting and check the box right next to it.
Below that, you can add some custom text to replace the price and cart buttons. If you leave this empty, the default 'Login to see prices' message will appear instead.
Hiding the price and cart buttons in Wholesale Suite
Now, scroll down and make sure the 'Show Wholesale Price to non-wholesale users' setting is disabled.
Set Up a Test Wholesale Customer Account
-
- Posts: 75
- Joined: Thu Dec 26, 2024 5:24 am