---
title: Wholesale prices by user role in WooCommerce
description: Give wholesale, B2B or member customers their own WooCommerce prices with a Pricepep rule that uses the User role condition. Step by step, with examples.
url: "https://pricepep.com/docs/wholesale-prices-by-user-role/"
updated: "2026-12-02"
category: Examples
---

# Wholesale prices by user role in WooCommerce

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?

1. 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.
2. Go to **WooCommerce > Pricepep > Product Pricing** and click **Add Rule**.
3. Set **Method** to **Simple adjustment**.
4. Under **Adjustment**, choose **Percentage discount** and type `30`.
5. Under **Products**, leave it empty for all products, or click **Add Product** and choose for example **Product category** in list Coffee.
6. Under **Conditions**, click **Add Condition**, choose **User role**, **in list** and select the wholesale role.
7. Optional: type a **Note - Private** like "Wholesale 30%". Click **Save Changes**.
8. 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](/docs/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?](/docs/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](/docs/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](/docs/exclude-products-from-all-rules/#how-do-i-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](/docs/caching/).
- **Wholesale-only products:** hide or block products for other customers with [Restrict purchase of matched products](/docs/restrict-purchase/).
- **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](/docs/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.

## Related articles

- [Can I set different prices for user roles?](https://pricepep.com/docs/can-i-set-different-prices-for-user-roles/)
- [Simple adjustment: discount, markup or fixed price](https://pricepep.com/docs/simple-adjustment/)
- [Restrict purchase: stop some customers buying products](https://pricepep.com/docs/restrict-purchase/)
- [How multiple pricing rules combine in Pricepep](https://pricepep.com/docs/how-pricing-rules-combine/)

All articles in [Examples](https://pricepep.com/docs-category/examples/)
