Blog

How to Set Customer-Specific Pricing in WooCommerce

WooCommerce customer-specific pricing: the same vase at $46.00 for everyone, $39.10 for Grace Kim and $32.20 for wholesale customers

Your best trade customer agreed on 15% off your ceramics, and a design studio negotiated $7.50 a jar. WooCommerce gives each product one regular price and one sale price, and every shopper sees the same ones. Neither can hold a price for one customer.

Short answer: WooCommerce customer-specific pricing doesn’t exist in core. The only built-in workaround is a coupon limited to the customer’s email address, which they have to type in the cart. For a price the customer sees on the product page, in the cart and at checkout without a code, you need a pricing rule for chosen customers from a plugin.

This guide shows both ways, tested in a demo store running WooCommerce 11.2.1: when a user role is enough, how far the coupon workaround gets you (and where it leaks), how to set up a price for one customer, and the 2 things that decide whether that price actually shows up.

Does WooCommerce support customer-specific pricing?

No. A WooCommerce product stores a regular price and an optional sale price, and both apply to everyone. There is no field for “this customer pays $39.10”, and no setting for different prices for different users or roles. What WooCommerce does have are coupons, and a coupon can be restricted to certain email addresses. That is the closest core gets.

Here is how the 3 realistic options compare:

Coupon with “Allowed emails” (core)Price per user role (plugin)Rule for chosen customers (plugin)
Who gets the priceAnyone who types the code with a matching emailEveryone in the role, such as Wholesale customerOnly the customer accounts you pick
Shown on product pagesNo, only as a cart discountYesYes
Customer has to type a codeYesNoNo
Fixed price, % off, markup, quantity tiers% or amount off onlyYesYes
Customer must be logged inNo, a matching billing email is enoughYes (or a guest price)Yes
Best for1 or 2 customers, now and thenGroups that share prices (wholesale, members)A negotiated deal with one account

User role or one customer: which do you need?

Most stores that search for “different prices for different customers” really need different prices for different groups. If all your wholesale buyers pay 30% less, that is role-based pricing: create a Wholesale customer role, give it to those accounts, and set one price or one rule for the role. New trade accounts get the right prices the moment you give them the role. Our guide to quantity discounts in WooCommerce covers the other common case, where the price depends on how many items are bought.

Customer-specific pricing is for the exceptions: the interior designer who negotiated 15% off one category, the café that pays a contract price on one product, the reseller whose deal is better than your standard trade price. One account, one agreement. A role for every such customer would turn your role list into a customer list, so a rule that names the customer is the cleaner tool.

A practical rule of thumb: if 2 or more customers share the same prices, use a role. If the deal belongs to one account, use a customer rule.

The built-in way: a coupon limited to one customer’s email

Without a plugin, you can give one customer a discount with a coupon that only their email address can use. In the demo store, Grace Kim gets 15% off everything in the Ceramics category:

  1. Go to Marketing > Coupons > Add coupon and enter a code, such as grace15.
  2. In the General tab, choose Percentage discount and enter 15.
  3. In the Usage restriction tab, add the category under Product categories and enter the customer’s email under Allowed emails. Individual use only is optional: it stops the code from being combined with other coupons.
  4. Publish the coupon and send the code to the customer.
WooCommerce coupon Usage restriction tab with Ceramics as product category and grace.kim@example.com in Allowed emails

When Grace adds the $46 Ribbed Vase, Tall to her cart and types the code, she gets $6.90 off. When another logged-in customer types the same code, WooCommerce refuses it with “Please enter a valid email at checkout to use coupon code “grace15″.”

Cart totals with a $6.90 discount from the grace15 coupon on a $46.00 subtotal

Where the coupon workaround falls short

  • The customer never sees their price while shopping. Product pages, the shop and the cart lines all show $46.00. The discount appears only as a line in the cart totals, after the code is applied.
  • They have to type the code on every order. WooCommerce has no setting that applies a coupon to a customer’s cart automatically. If they forget, they pay full price and you get the email afterwards. WooCommerce’s checkout links, such as /checkout-link/?products=26:1&coupon=grace15, can apply a code from a URL, but they empty the cart and add fixed products, so they don’t fit a trade buyer who orders something different each time.
  • It checks an email, not an account. WooCommerce compares the allowed emails with the logged-in account’s email and with the billing email. In our test, a logged-out visitor who entered [email protected] as the billing email got the same 15% off. Anyone who knows the code and the address can use it.
  • Only discounts. A coupon takes a percentage or an amount off. It can’t set a fixed contract price, a markup or quantity tiers, and if you tick “Individual use only”, the customer can’t combine it with your other coupons.

The WooCommerce coupon documentation describes the same check: allowed emails are “checked against the customer’s billing email”. If typing the code is the only problem, URL Coupons & Coupon Rules adds an “Apply automatically” box to coupons. In our test, the email-restricted coupon was added to Grace’s cart on its own and not to another customer’s cart. The price on the product page still stays $46.00.

How to set customer-specific pricing in WooCommerce with a plugin

To show a customer their own price everywhere, use Role Based Pricing & Wholesale Prices. Besides prices per user role, it has pricing rules for chosen customers: a rule can set a fixed price, a percentage off, an amount off or a markup, on all products, categories, tags, brands or single products, with lower prices from a quantity.

Role Based Pricing & Wholesale Prices in 20 seconds.

Here is Grace’s 15% off Ceramics as a rule instead of a coupon (the plugin docs cover every field):

  1. Go to WooCommerce > Settings > Role pricing and click Add rule.
  2. Under Price, set Change to Percentage off and Amount for one item to 15. Set Starting from to Current price (sale price when on sale). A new rule starts from the regular price, and then a sale doesn’t lower the customer’s price (more in the FAQ).
  3. Optionally, add a Label next to the price, such as “Your price”.
  4. Under For these customers, leave Guests and user roles empty and search for the customer by name or email in Customers (optional).
  5. Under On these products, choose Products in categories and pick Ceramics.
  6. Move the rule to the top of the list (more on why below) and click Save changes.
Pricing rule giving 15% off products in Ceramics to the customer Grace Kim, with the label Your price
The rule’s one-line summary reads “15% off on products in Ceramics for Grace Kim · Your price”.

When Grace logs in, the vase shows $46.00 crossed out and $39.10 with her label, on the product page, in the shop and in the cart. In her cart, 2 vases cost $78.20, and the Cart block shows “Save $13.80” next to the line. Nobody typed a code. Guests and customers without a matching rule or role price still see $46.00.

Product page as Grace Kim: Ribbed Vase, Tall at $46.00 crossed out and $39.10 with the label Your price

A contract price with quantity tiers

A customer-specific discount isn’t the only kind of deal. Tessa Hughes of Hughes Studio, a wholesale account in the demo store, agreed on a fixed $7.50 for the $12 Green Apothecary Jar, and $6.90 from 24 jars. That is one rule: Change set to Fixed price, 7.50 for one item, Add quantity price with 24 and 6.90, Tessa Hughes under Customers, and the jar under Specific products. A customer rule can also use Percentage on top (a markup) instead, for a customer who pays more, for example for drop shipping.

Which price wins when a customer is also in a role?

Here the order of the list matters. Tessa is also in the Wholesale customer role, and the store already has a “Wholesale: 30% off” rule for that role. The plugin uses the first rule in the list that covers the customer and the product, so the order of the list decides:

Pricing rules list with the Grace Kim and Hughes Studio customer rules above the Wholesale 30% off rule
Customer rules (1 and 2) above the role rule (3).

With Tessa’s rule above the wholesale rule, the jar costs her $7.50. Moved below it, the wholesale rule matches first and she pays $8.40 (30% off $12), the same as every other wholesale buyer. No role rule covers Grace’s ceramics, so her price was the same in both orders. Keep customer rules at the top, above the role rules.

The second thing to know: prices saved on a product are per role, and they come before every rule. The product screen’s Prices by role box lists roles only, not customers. In the demo store the Leather Sling Chair has a $219 price for the Wholesale customer role. We gave Tessa a customer rule with a fixed $199 for the chair, at the top of the list, and she still saw $219.

Prices by role box on the product screen with a $219 price and minimum quantity 2 for the Wholesale customer role
A role price on the product beats any rule for customers in that role.

So a price for one customer always needs a rule, and on products with a role price for that customer’s role, the role price is what they pay. If the customer’s deal should win, delete the whole role row on that product with Remove and click Update (the row is only removed when you update the product). Clearing only the price isn’t enough: a row with an empty price (kept, say, for its minimum quantity) still counts as the role’s price and charges the current price, so no rule is reached. Then add a rule for the role on that product, with its own price, and place it below the customer’s rule and above any broader role rule. In the demo store, if the chair’s $219 rule sat below “Wholesale: 30% off”, every wholesale buyer would pay $202.30 (30% off $289) instead. The row’s Min. quantity of 2 goes too, because rules have no minimum or maximum quantity. The diagram sums up the order:

Diagram: a role price saved on the product wins first, then the first matching rule in the list, otherwise the regular or sale price

A customer with several roles gets the lowest product price among their roles. If one customer has negotiated prices on dozens of single products, a rule per product gets long. In that case it can be simpler to add a role just for them under Role pricing > Roles, set prices per product, and use the price list’s CSV export and import to fill them in a spreadsheet. Keep in mind that the profile’s role dropdown gives a user one role, so the new role replaces their wholesale role, and role rules for wholesale won’t cover them unless you add the new role to those rules too.

Check what one customer sees with “View prices as”

You don’t need a customer’s password to test their prices. To see one customer’s prices, go to WooCommerce > Settings > Role pricing, search for the customer under View prices as > Or a customer, and click View store. The toolbar then shows “Prices as: Tessa Hughes” (or whoever you picked), every page uses that customer’s saved rules, and Stop and see my own prices in the toolbar ends the preview. The View prices as menu in the toolbar itself can only switch to a guest or a role. Previews need the manage_woocommerce capability, which shop managers and administrators have.

Toolbar showing Prices as: Tessa Hughes on a product page with her agreed price of $7.50 and a quantity price table with $6.90 from 24

Check one product the rule covers, one it doesn’t, and the cart. If a price looks wrong, it’s almost always one of the 2 cases above: a role rule higher in the list, or a role price saved on the product.

What customer-specific prices don’t cover

  • The customer has to be logged in. A customer rule matches an account, so guests (and the customer before they log in) see your regular prices. To make sure trade customers have accounts with the right role, Registration Fields & Account Approval lets you approve sign-ups and give them a role.
  • Orders you create in wp-admin keep the regular prices. The plugin changes prices on the storefront (pages, cart, checkout and the Store API used by the Cart and Checkout blocks). For phone orders entered under WooCommerce > Orders > Add order, enter the agreed price yourself.
  • The price list is per role. The price list and its CSV show what each role pays. For one customer, use View prices as.
  • Coupons stack on top. If you move a customer from a coupon to a rule, delete the old coupon. In our test, an auto-applied 15% coupon took another $5.86 off Grace’s already reduced $39.10 vase.

Some B2B stores also hide prices from guests entirely. Our post on hiding prices in WooCommerce covers that, and the places a hidden price can still show.

FAQ

Can WooCommerce show different prices to different users without a plugin?

Not as a displayed price. Every shopper sees the same regular and sale price. You can only give a discount in the cart with a coupon restricted to certain email addresses, which the customer has to type and which anyone with a matching billing email can use.

Do customers have to log in to see their price?

Yes. A customer rule matches an account, so the customer sees their price only while logged in. Before they log in, and for guests, the store shows your regular prices or any guest rule you set.

How do I give one customer a discount on everything?

Create a pricing rule with Percentage off, choose the customer under Customers and leave Products on All products. Put it at the top of the rule list. Products with a role price for that customer’s role still use the role price.

How do I set multiple prices per product in WooCommerce?

It depends on what the prices depend on. For a size or color, use a variable product with a price per variation. For a group of buyers, set a price per user role. For quantity, add quantity tiers. For one account, add a customer rule. Role Based Pricing & Wholesale Prices handles the last three on the same product.

Do customer prices work with sales?

Only if you set the rule up for it. The plugin doesn’t compare a customer’s price with the sale price, so a customer can end up paying more than a guest. In our test the vase went on sale at $30: with Grace’s 15% rule starting from the regular price, she saw $39.10 while guests saw $30.00. Set to Current price, she got $25.50. A Fixed price applies even above a sale price: with the jar on sale at $7, Tessa still saw her $7.50. Use Current price for percentage and amount-off deals, and check fixed prices before a sale starts.

Set up your first customer price

Start by listing who actually has a deal. Groups that share prices belong in a role, and one-off agreements become customer rules at the top of the list. Check each customer with View prices as before you tell them their prices are live. A coupon with allowed emails is fine for an occasional discount, as long as you accept that it only shows in the cart and checks an email address, not an account.

To try customer rules before you buy, open the live demo of Role Based Pricing & Wholesale Prices. It comes with ongoing updates and support and a 14-day money-back guarantee. If your setup has a case this post doesn’t cover, open a support ticket.

14-day money-back guarantee

Try it on your store, risk-free

Every plugin includes ongoing updates and support. If it isn’t right for your store, get a full refund within 14 days, no questions asked.