B2B Pricing gives each customer group its own prices in WooCommerce: role based pricing, customer specific pricing, country prices, quantity discounts, and hidden prices for guests, all from one list of rules. It’s for stores that sell to retail shoppers and trade accounts at the same time and need trade account registration, approval, minimum orders, and tax exempt customers. View the product page.
Quick start
↑ Back to topGive a “Wholesale” customer group 25% off in five steps:
- Go to WooCommerce > Settings > B2B Pricing > Custom Roles, select Add Role, enter “Wholesale”, and select Save changes.
- Go to Users, open a customer, set Role to Wholesale, and select Update User.
- Go to WooCommerce > B2B Pricing and select Add pricing rule.
- Choose Decrease by Percentage, enter 25 in Amount, turn on All products, and choose Wholesale in Roles.
- Select Publish, then use Price preview on the same screen, or log in as that customer, to see the new price.

The Get started with B2B Pricing checklist on the rules and settings screens tracks the same steps. Select Dismiss to hide it.
Installation
↑ Back to topTo start using a product from WooCommerce.com, you can use the “Add to store” functionality on the order confirmation page or the My subscriptions section in your account.
- Navigate to My subscriptions.
- Find the Add to store button next to the product you’re planning to install.
- Follow the instructions on the screen, and the product will be automatically added to your store.
Alternative options and more information at:
Managing WooCommerce.com subscriptions.
Requirements
↑ Back to top- WordPress 6.5 or later.
- WooCommerce 8.5 or later.
- PHP 7.4 or later.
- For trade account registration: tick On “My account” page under Account creation in WooCommerce > Settings > Accounts & Privacy.
- For country rules that target guests: WooCommerce geolocation, set in WooCommerce > Settings > General > Default customer location.
The plugin works with the Cart and Checkout blocks, the classic cart and checkout, and High-Performance Order Storage (HPOS). Fixed amounts are converted automatically with WPML and WooCommerce Multilingual, Aelia Currency Switcher, and CURCY. A wpml-config.xml file is included for translating admin texts.
Setup and configuration
↑ Back to topB2B Pricing has two places in your dashboard:
- WooCommerce > B2B Pricing: your pricing rules.
- WooCommerce > Settings > B2B Pricing: five sections for General Settings, User Approval, Registration, Custom Roles, and Checkout Rules.
The header on these screens links to Pricing rules, Settings, this documentation, and support.
Pricing rules
↑ Back to topThe rules list shows each rule’s Pricing Type, Customers, Products, and Priority, so you can see who pays what at a glance.

Select Add pricing rule to create one. Give it a name, such as “Wholesale 10% off”, then fill in the sections below.
Price change:

- Rule Type: Decrease by Percentage, Decrease by Fixed Price, Fixed Price, Increase by Percentage, Increase by Fixed Price, Tiered Pricing, or Hide Price. Hide Price hides the price and the Add to cart button.
- Amount: A percentage for percentage rules, or an amount in your store currency for fixed rules. Enter a positive number; the rule type sets the direction. A percentage decrease can’t be more than 100%.
- Tiered Pricing: For tiered rules, choose Percentage off, Amount off per item, or Fixed price per item, then add rows with From quantity and Discount / Amount. Each row applies from its quantity up to the next row. Quantities are counted per cart line, so each variation has its own tier.
Products:
- Apply to: Turn on All products, or pick products and categories below.
- Include Products: Products or single variations.
- Include Categories: Categories include their subcategories, and variable products include all their variations.
- Exclude Products: Products the rule never touches.
Customers:

- User Restrictions: Registered Users (logged-in customers, optionally limited to roles or customers), Guest Users (visitors who aren’t logged in), or Everyone.
- Roles: The customer roles the rule applies to. Leave it empty for any role.
- Customers: Specific customer accounts. When both roles and customers are set, a customer must match both.
- Countries: Logged-in customers are matched by billing country (or shipping country), guests by geolocated country. Leave it empty for all countries.
Priority:
- Priority: Lower numbers are checked first. For each product, the first rule that matches the customer and covers the product is used, and other rules are ignored for that product. A rule for one category doesn’t block a lower-priority rule for another category.
Price preview
↑ Back to topThe Price preview box on the rule screen shows the price a customer would pay with this rule, before you save it. Choose a Product, a Customer role (or a guest), and a Quantity, then select Preview price.

General Settings
↑ Back to top
- Tax Exempt: Disable Tax Exempt, Automatically Tax Exempt approved users on checkout, or Allow claim tax exempt for approved users. It applies to customers marked Tax Exempt on their user profile.
- Pricing Table Position: Where the quantity-tier table of Tiered Pricing rules shows on product pages: Before Add to Cart Button, After Add to Cart Button, or Product Tabs (a “Pricing Table” tab).
- Hidden price text: Shown instead of the price for products covered by a Hide Price rule, for example “Log in to see prices”. The default is “Prices hidden”.
- Delete data on uninstall: When the plugin is deleted, also delete its settings, pricing rules, and B2B user data. Custom roles are always kept so customers aren’t left without a role.
User Approval
↑ Back to top
- Enable Approve User: New accounts start as Pending and need your approval before they can log in.
- Pending Message: Shown to new customers after they register and when a pending account tries to log in.
- Disapprove Message: Shown when a disapproved account tries to log in.
- Enable, Subject, and Message (approved): Email the customer when you approve the account.
- Enable, Subject, and Message (disapproved): Email the customer when you disapprove the account.
Registration
↑ Back to top
Role Selection:
- Enable Roles: Let customers choose a role on the My account registration form.
- Enable Admin Approval: The requested role is only given when you approve it. When this is off, the customer gets the requested role right away.
- Role Field Label: The label of the role field, for example “Account type”.
- Make the Field Required: Customers must choose a role to register.
- Roles for Registration: The roles customers can choose.
Role Status Notifications:
- Enable, Email Subject, Email Heading, and Message: Email the customer when their requested role is approved.
- Enable, Email Subject, Email Heading, and Message: Email the customer when their requested role is denied.
Registration fields:
- Company name: Hidden, Optional, or Required. Saved as the customer’s billing company.
- VAT number: Hidden, Optional, or Required.
- VAT number label: For example “Tax ID”, “ABN”, or “EIN”.
Custom Roles
↑ Back to top
Create customer roles such as “Wholesale” or “Distributor”, then target them in pricing rules and checkout rules. Select Add Role, enter the Role Label and Role Slug, and select Save changes. The slug is fixed once saved, so renaming a role never detaches its customers. A role that still has users isn’t removed; assign those users another role first.
Checkout Rules
↑ Back to top
Each role, including guests, has its own block:
- Minimum order amount: The cart subtotal required to check out. Leave it empty for no minimum.
- Minimum quantity: The number of items required in the cart to check out.
- Hide payment methods: Payment methods not offered to this role.
- Hide shipping methods: Shipping methods not offered to this role.
When a customer has several roles, the highest minimum applies and the hidden methods of all their roles are hidden.
Customer profile and users list
↑ Back to topEach user profile has a B2B Options section with User Status (Approved, Disapproved, or Pending), the Requested Role, the VAT number, and Tax Exempt. The order screen shows the customer’s VAT number and whether tax exemption was applied.

How-to guides
↑ Back to topHow to set up role based pricing and customer specific pricing
↑ Back to top- Create the role in Custom Roles, for example “Wholesale”, and assign it to your trade customers in Users.
- Go to WooCommerce > B2B Pricing > Add pricing rule.
- Choose a Rule Type, such as Decrease by Percentage, and an Amount.
- Choose the products, then set User Restrictions to Registered Users and choose the role in Roles.
- For one customer’s contract price, create another rule with Fixed Price, pick the customer in Customers, and give it a lower Priority number so it’s checked first.
How to add tiered pricing and quantity discounts
↑ Back to top- Create a rule with Rule Type set to Tiered Pricing.
- Choose Percentage off, Amount off per item, or Fixed price per item.
- Add a row for each tier, for example 1 at 25%, 10 at 30%, and 25 at 35%.
- Choose the products and customers, then select Publish.
The product page shows a “Quantity discounts” table with each tier and its price per item, and a summary that updates as the customer changes the quantity. The cart, mini-cart, and block cart apply the matching tier.

How to hide prices from guests
↑ Back to top- Create a rule with Rule Type set to Hide Price.
- Choose the products or categories.
- Set User Restrictions to Guest Users and select Publish.
- In General Settings, enter your Hidden price text, for example “Log in for trade prices”.

How to set up trade account registration and approval
↑ Back to top- Turn on registration on the My account page in WooCommerce > Settings > Accounts & Privacy.
- In B2B Pricing > Registration, turn on Enable Roles and Enable Admin Approval, and choose the Roles for Registration.
- Set Company name and VAT number to Optional or Required.
- In User Approval, turn on Enable Approve User and write your Pending Message.
- When customers register, go to Users, select them, and choose Approve and grant requested role in Bulk actions.

The Users screen shows a User Approval and a Requested Role column. The bulk actions are Approve User, Approve and grant requested role, and Disapprove User.

How to set up tax exempt customers and minimum orders
↑ Back to top- In General Settings, set Tax Exempt to Allow claim tax exempt for approved users (or the automatic option).
- Open each eligible customer in Users and tick Tax Exempt in B2B Options.
- In Checkout Rules, enter a Minimum order amount or Minimum quantity for the role.
Eligible customers see a “Claim tax exemption” checkbox at checkout. Guests and customers who aren’t marked tax exempt can never claim it.

If the cart is below the minimum, the customer sees what’s missing and can’t check out.

Video
↑ Back to topFrequently asked questions
↑ Back to topSeveral rules match the same customer. Which one is used?
↑ Back to topFor each product, the first rule by priority (lowest number first) that covers the product. Use the price preview on the rule screen to check the result.
Do category rules apply to variable products?
↑ Back to topYes. A rule that covers a variable product or its category applies to all its variations, and excluding a variable product excludes its variations. You can also target single variations.
How do quantity tiers appear to buyers?
↑ Back to topThe tier table on the product page lists each tier and its price per item, and the cart applies the matching tier. The price under the product title and in the shop grid stays your catalog price for products covered by a tier rule.
Can I set a price per user role and per country?
↑ Back to topYes. Combine Roles and Countries in one rule. For example, a 30% wholesale price for customers in Germany, France, and the Netherlands, and 25% for other wholesale customers with a higher priority number.
Does it work with the Cart and Checkout blocks?
↑ Back to topYes. Rule prices, tier prices, hidden prices, minimum orders, hidden payment and shipping methods, and the tax exemption claim all work in the block cart and checkout.
Does it work with page caching?
↑ Back to topLogged-in customers normally bypass page caches. If your cache serves logged-in users or you use country rules for guests, make the cache vary on the b2b_pricing_ctx cookie. LiteSpeed Cache and WP Rocket are registered automatically; clear the WP Rocket cache once after activating.
What happens to my data if I delete the plugin?
↑ Back to topNothing, unless you turn on Delete data on uninstall in General Settings first. Custom roles are always kept.
Troubleshooting
↑ Back to topA customer doesn’t see their price
↑ Back to top- Check that the customer is logged in and has the role in the rule.
- Check that the rule covers the product and isn’t excluded.
- A rule with a lower Priority number may cover the product first. Rules don’t stack.
- Use Price preview with the same product, role, and quantity.
New customers can’t log in
↑ Back to topEnable Approve User is on, so new accounts stay Pending until you approve them in Users.
The role field doesn’t show on the registration form
↑ Back to topTurn on registration on the My account page in WooCommerce > Settings > Accounts & Privacy, and turn on Enable Roles with at least one role in Roles for Registration.
The Claim tax exemption checkbox doesn’t show at checkout
↑ Back to topThe customer needs Tax Exempt ticked on their profile and an approved account, and Tax Exempt in General Settings must be set to the claim option.
A custom role can’t be removed
↑ Back to topThe role still has users. Assign them another role first.
Known limitations
↑ Back to top- The product page and shop grid show the catalog price for products covered by a Tiered Pricing rule. The tier table and the cart show the tier price.
- Only one rule applies to each product for a customer. A tier rule therefore replaces a role discount on the products it covers.
Developer notes
↑ Back to topAll hooks are filters.
b2b_pricing_rule_covers_product($covers, $rule, $product_id, $parent_id): Whether a rule covers a product.b2b_pricing_cart_tier_price($unit, $base, $cart_item, $rule): The tier price of a cart item.b2b_pricing_convert_amount($converted, $amount): Converts fixed amounts for other currency switchers.b2b_pricing_customer_country($country): The country used for country rules.b2b_pricing_is_frontend_request($is_frontend): Whether prices are changed in the current request.b2b_pricing_context_cookie($enabled): Turns the b2b_pricing_ctx cache cookie on or off.b2b_pricing_min_amount_message($message, $min_amount, $subtotal): The minimum order amount notice.b2b_pricing_min_qty_message($message, $min_qty, $count): The minimum quantity notice.b2b_price_text($text): The hidden price text.b2b_pricing_table_caption($caption, $product): The tier table caption.b2b_product_tab_title($title): The title of the Pricing Table tab.b2b_summary_title,b2b_quantity_label,b2b_discount_label,b2b_pricing_label($text): Tier table labels.b2b_rule_capability($capability): The capability needed to manage rules. Default manage_woocommerce.
Works great with
↑ Back to top- Quote Offer: let trade buyers request a quote for large or custom orders and turn the agreed quote into an order.
- Hide Price & Show Custom Button: replace hidden prices with a login link, an enquiry form, or your own button.
- Restrict Checkout: checkout rules beyond roles, such as maximum order amounts, product combinations, regions, or purchase history.
- PDF Invoice, Packing Slips & Credit Notes: sequentially numbered PDF invoices for your trade orders.
Support
↑ Back to topNeed help? Contact WooCommerce.com support for B2B Pricing. Include your WordPress, WooCommerce, and plugin versions and the rule you’re testing.
