To give wholesale customers their own prices, create a product pricing rule with the condition User role in list "Wholesale customer" and the discount you want, for example Simple adjustment with Percentage discount 30. Customers with that role see the lower price; everyone else pays the normal price.
How do I set up wholesale prices?
- Make sure your wholesale customers have their own role. Pricepep doesn't create roles: use an existing one or a user role or membership plugin.
- Go to WooCommerce > Pricepep > Product Pricing and click Add Rule.
- Set Method to Simple adjustment.
- Under Adjustment, choose Percentage discount and type
30. - Under Products, leave it empty for all products, or click Add Product and choose for example Product category in list Coffee.
- Under Conditions, click Add Condition, choose User role, in list and select the wholesale role.
- Optional: type a Note - Private like "Wholesale 30%". Click Save Changes.
- On WooCommerce > Pricepep > Settings, set Change display prices in shop to Change - Include simple adjustments so wholesale customers see their prices on shop and product pages. Click Save Changes.
What do customers pay?
| Product | Normal price | Wholesale customer (30% off) | Guest or retail customer |
|---|---|---|---|
| Coffee beans 1 kg | $25.00 | $17.50 | $25.00 |
| Espresso cups (set) | $40.00 | $28.00 | $40.00 |
Can wholesale prices depend on quantity?
Yes. Use Bulk pricing instead of Simple adjustment, keep the User role condition and add ranges, for example 10-49 at Percentage discount 30 and 50 and up at 35. Show the tiers with the Volume Pricing Table; it only shows to customers the rule applies to.
How do I give different roles different discounts?
Create one rule per role: "Wholesale" 30%, "Distributor" 40%, each with its own User role condition. A rule can also list several roles when they get the same price. For different discounts per category, make one rule per role and category. Which rules and conditions work with roles is in can I set different prices for user roles?.
How do I set a fixed wholesale price per product?
Under Adjustment choose Fixed price and type the price. That price applies to every product in the rule, so create one rule per product (or per group of products with the same price). For many products, a percentage off is easier to maintain.
Will wholesale customers also get my retail promotions?
With the default Rule selection method "Apply first applicable rule", one product pricing rule applies per cart item: the first one in the list that matches. Put the wholesale rule at the top (drag it) so it wins. To stop retail rules from ever applying to wholesale customers, add User role not in list Wholesale customer to those rules. More in how pricing rules combine. If wholesale prices come from another plugin and wholesale customers should get no Pricepep discounts at all, see leave wholesale customers out of all discounts.
Tips
- Caching: pages for logged-in customers must not come from a full-page cache, or wholesale prices can show to the wrong people. Most caching plugins skip logged-in users by default. See caching.
- Wholesale-only products: hide or block products for other customers with Restrict purchase of matched products.
- Any registered customer: use the condition Is logged in yes instead of a role.
- Hide prices from guests: that needs a catalog mode plugin; see can I hide prices from guests.
Frequently asked questions
Does Pricepep create a wholesale role?
No. Use a role you already have, or create one with a user role or membership plugin. Pricepep lists every role WordPress knows.
Can each product have its own wholesale price?
A rule gives one adjustment to all products it covers. For individual prices, use a Fixed price rule per product or per group of products with the same price, or a percentage off for all of them.
Will wholesale customers see their prices in the shop?
Yes, if Change display prices in shop is set to Change - Include simple adjustments (or all adjustment types) on the Settings tab.