PHP 8.2 security fixes end 31 Dec 2026 PHP 8.2 fixes end 31 Dec 2026 30 days left Update for $349

Guide · 9 min read

How to set up wholesale pricing in WooCommerce

Give trade buyers their own prices, quantity tiers, tax exemption and minimum orders, without a second store. A step-by-step plan, with what to test before you invite buyers.

Updated 21 Nov 2026 · By the WPKoders development team

Most stores that start selling to trade buyers do it by hand. They email price lists, take orders by phone and apply discounts in the admin, one order at a time. It works for five buyers. At fifty, prices drift, small orders lose money and retail shoppers sometimes see the trade price. This guide shows how to put wholesale on the same WooCommerce store, so every buyer sees their own price and checks out on their own.

What WooCommerce does and doesn’t do on its own

WooCommerce gives every product one regular price and an optional sale price. There is no built-in way to show a different price to a logged-in trade buyer, to give quantity discounts in the cart, or to hide prices from guests. That needs a pricing plugin or custom code. Before you choose one, write down how your trade pricing actually works today. The plugin should follow your price list, not the other way round.

Step 1: Write down your price rules

Answer these on paper first. They decide everything else:

  • Who gets a different price? Usually groups (wholesale, distributor, VIP), sometimes single accounts with a contract price, sometimes countries.
  • How is the price set? A percentage off retail (“wholesale pays 25% less”) is easiest to maintain. A fixed trade price per product is more work but common in food and parts.
  • Do quantities change the price? For example 10% off from 12 units, 15% from 48. Decide whether tiers count per product, per variation or across the cart.
  • Who may see prices at all? Some catalogs show prices to everyone. Others show “Log in to see prices” to guests.
  • Is there a minimum order? A minimum value or quantity stops small trade orders that cost more to pack than they earn.
  • Are some buyers tax exempt? Resellers with a certificate may not pay sales tax. Keep the certificate on file.
  • How do trade buyers pay? Card at checkout, or an invoice with net 30 terms.
B2B pricing in WooCommerce: a guest sees $38.00 while an approved wholesale buyer sees $28.50
B2B pricing in WooCommerce: a guest sees $38.00 while an approved wholesale buyer sees $28.50

Step 2: Create customer groups

Most wholesale setups use WordPress user roles as the groups: a “Wholesale” role, a “Distributor” role and so on. Each trade buyer’s account gets one role. Keep the number of groups small. Every group is a price list you have to keep right.

Decide how buyers get a trade account. Common options: you create accounts yourself, or buyers apply through a trade sign-up form (company name, VAT or tax number) and you approve them. Approval matters. Without it, anyone can register and see your trade prices.

Step 3: Set up the pricing rules

Create one rule per price list: “Wholesale: 25% off all products”, “Distributor: fixed prices on the coffee category”, and so on. Good wholesale plugins let you:

  • target roles, single customers and countries;
  • apply a rule to all products, some categories or single products, with exclusions;
  • use percentage, fixed-amount or fixed-price changes, and quantity tiers;
  • set a priority, so you know which rule wins when two could apply.

Preview the result before you publish a rule. You want to see “this product, this role, this quantity costs this much” without logging in as a customer.

One product with different prices for guest, wholesale and distributor roles
One product with different prices for guest, wholesale and distributor roles

Step 4: Hide prices or the cart button from guests (optional)

If your trade prices are confidential, show guests a message such as “Log in to see prices” and a button to apply for a trade account or request a quote. Hide the Add to cart button too, or guests can still find prices in the cart. Check product structured data as well: a hidden price shouldn’t appear as 0 in search results.

Step 5: Add checkout rules

Set the minimum order amount or quantity per group, and show the buyer a clear message in the cart (“Add $13.00 more to check out. Our minimum order is $25.00.”). If trade buyers should only see some payment or shipping methods, hide the others for their role. Retail shoppers should never be blocked by a trade rule, so test both.

Tiered pricing table with quantity discounts of 25, 30 and 35 percent
Tiered pricing table with quantity discounts of 25, 30 and 35 percent

Step 6: Tax exemption and invoices

For tax-exempt resellers, mark the customer as tax exempt rather than changing product tax classes (in B2B Pricing: Users > Edit user > B2B Options > Tax Exempt). If buyers pay on terms, send numbered PDF invoices with your payment terms in the footer, and attach them to the order emails so nothing is typed twice.

Step 7: Test before you invite buyers

Create one test account per group and walk through a full order as each of them:

  1. As a guest: are prices shown or hidden as planned? Can you add to cart when you shouldn’t?
  2. As each trade role: is every price right on the shop page, the product page, the mini-cart, the cart and the order email?
  3. Change quantities across a tier boundary and watch the price change in the cart.
  4. Try an order below the minimum. Is the message clear?
  5. Place a real order with a test payment and check the invoice.

Watch your page cache. Most caches serve one copy of a page to every visitor who isn’t logged in, and skip the cache for logged-in users. That’s what you want. If your host or caching plugin caches logged-in pages too, a trade buyer could see a retail price (or the other way round). Ask your host, or test with two browsers side by side.

Step 8: Launch to a few buyers first

Invite three or four friendly buyers, take their first orders, then send the sign-up link to the rest. Keep phone and email ordering open for a few weeks so nobody is forced to change in one day.

Common mistakes

  • Too many groups. Start with one or two and add more only when a real buyer needs one.
  • Rules that overlap with no clear priority, so a buyer gets a different price from week to week.
  • Trade sign-up without approval, so trade prices are public in practice.
  • Testing only on the product page. Prices also appear in the mini-cart, the block cart, quick views and emails.

Do it with B2B Pricing

Trade prices by role, customer or country, quantity tiers, tax exemption and invoice terms.

Buy now, $99 a year See the plugin