By the B2BKing Team · Updated November 2026
Many wholesale businesses start out taking orders by email or phone. A retailer sends over a list of products and quantities, someone on the team enters it into the order system, and the prices are checked against whatever was agreed with that customer. This works well enough with a handful of accounts, but it gets harder to manage as the business grows, especially when different customers have different prices, products and payment terms.
A wholesale portal moves this process online. Trade customers log in to a private area of your store, where they can see their own prices and catalog, place new orders, reorder past purchases and pay using the terms you have agreed with them. If your store already runs on WooCommerce, you can set this up on your existing site with B2BKing instead of running a separate platform. In this guide we'll go through the setup step by step, including how to move your existing wholesale customers into the portal.
A wholesale portal is a private ordering site, or a login-only part of an existing store, used by approved trade customers such as retailers, dealers, distributors or contractors. After logging in, these customers see their own negotiated prices and catalog, place new orders or repeat earlier ones, and pay on the terms you have agreed with them, for example by invoice, purchase order or Net 30. Trade prices, products and terms stay hidden until a buyer logs in, even if the rest of the store is public. You may also see this described as a dealer portal, distributor portal, trade portal or B2B ordering portal. These all refer to the same idea.
Yes, although it needs an extension to do this. WooCommerce is the usual base for a B2B portal on WordPress, but by default it shows every visitor the same catalog, the same prices and the same payment methods. It has no way to approve accounts, give an individual account its own prices or catalog, or let several buyers order under one company account. B2BKing, our B2B and wholesale plugin for WooCommerce, adds these features. The rest of this guide explains how to set them up, step by step:
Buyers who order regularly will generally use a portal only if it is quicker for them than emailing your sales team. In our support conversations, portal projects tend to involve the same set of requirements, and each of them corresponds to a specific part of the setup:
| What trade buyers expect | Why it matters | How it works with WooCommerce and B2BKing |
|---|---|---|
| Nothing trade-specific visible without a login | Trade prices reveal your margins, so they shouldn't be public | Access Restriction: "Hide shop & products" or "Hide website / force login" |
| Their own prices at login | Negotiated prices are a main reason customers buy from you | Group prices, customer price lists, tiered pricing |
| Their own catalog | A dealer for one brand usually shouldn't see another brand's product line | Product and category visibility by group or by user |
| Fast reordering | Most B2B orders repeat a previous order | Bulk order form, CSV quick order, purchase lists |
| Real stock levels | Buyers plan their orders around what is actually in stock | Stock column on the order form, separate B2B and B2C stock, stock hidden from retail customers |
| Paying on terms | Large trade orders are rarely paid by card | Invoice and Purchase Order gateways per group, credit limits with Company Credit |
| Several people per company | Buyers, store managers and accounting staff may all need access | Subaccounts with permissions and order approval |
| Quotes for unusual orders | Large or custom orders are often negotiated | Quote requests, conversations and offers |
| Minimums and case packs | Small orders and split cases reduce your margins | Minimum order and quantity rules per group |
You don't need all nine of these when the portal first launches. Many stores start with the first four and then add payment terms, company accounts and quotes once their buyers ask for them. For other parts of selling B2B on WooCommerce, such as tax and sales reps, see our complete WooCommerce B2B guide.
Before changing any settings, it helps to decide who should be able to see what. There are three common setups, and none of them requires a second WordPress installation:
| Model | Who can browse | Who sees prices | How accounts are created | B2BKing settings |
|---|---|---|---|---|
| Invite-only portal | Logged-in accounts only | Logged-in accounts only | You create them, and there is no public sign-up | "B2B Shop" + "Hide website / force login" |
| Private portal with applications | Logged-in accounts only | Logged-in accounts only | Businesses apply and you approve them | "B2B Shop" + "Hide shop & products" + "Restrict all pages" |
| Retail store plus trade portal | Everyone | Retail prices for everyone, trade prices after login | Retail customers sign up freely, and trade accounts are approved | "B2B & B2C Hybrid", with guest access left on "None" |
The first two models suit manufacturers and distributors who sell only to the trade. The third suits brands that also sell directly to consumers. In this case the public store stays as it is, and approved trade accounts get their own prices, payment terms and ordering tools when they log in. For example, one of our customers, a parts manufacturer, runs its retail shop and a trade portal on the same WooCommerce site in this way, with about ten customer groups divided by tier and by currency. If you are considering the hybrid model, our guide to selling B2B and B2C from one WooCommerce store covers it in more detail.
Start by setting the plugin status under B2BKing → Settings → Main Settings. "B2B Shop" treats every customer as a business customer, which fits a trade-only portal. "B2B & B2C Hybrid" leaves retail customers as they are and turns on the B2B features only for accounts in your business groups.
Next, decide what logged-out visitors should see. B2BKing → Settings → Access Restriction has a Guest Access Restriction setting with five options:

For most portals the choice is between "Hide shop & products" and "Hide website / force login". The first option still shows a registration form to new businesses, and its "Restrict all pages" switch extends the login requirement from the shop to every page of the site. The second option blocks all access for logged-out visitors, which suits a portal where every buyer already has an account. You can change the login message in B2BKing → Settings → Language and Text. If you only need to hide prices rather than the whole shop, our guide to hiding prices in WooCommerce also covers per-product and per-group options.

B2BKing also keeps restricted products and prices out of REST API and Store API responses, as well as sitemaps and feeds. This means a logged-out visitor can't retrieve your trade catalog through these other routes.
For a trade buyer, the WooCommerce My Account page serves as the portal's home page. Under B2BKing → Settings → Main Settings → Store Features you can turn on the sections it shows: Conversations & Quotes, Offers, Purchase Lists, Bulk Order Form and Subaccounts. Each of these adds a panel to My Account for trade accounts.

If you would prefer to send buyers directly to the order form after they log in, you can do this with a short login redirect snippet from our code snippets library. The [b2bking_login_only] shortcode gives you a dedicated B2B login page without a registration form.
Most of your existing customers are probably already stored somewhere, such as in your accounting software, your ERP, a CRM export or a spreadsheet kept by the sales team. It usually makes sense to bring these accounts into the portal directly. If you ask all of your active accounts (for example, 200 of them) to fill in an application form, many of them will simply continue to send their orders by email.
In B2BKing → Groups → Business Groups, create one group for each pricing tier you already use, for example Distributors, Dealers and Retailers. Prices, payment methods, shipping methods, product visibility and minimum orders are all attached to the group. This means that when an account is assigned to a group, it immediately receives all of that group's settings. Each user belongs to one group, and the group name is not shown to customers.
If your customers aren't in WordPress yet, you can import them with any user importer, such as WP All Import. Import them as regular WooCommerce customers (with the "Customer" role) and set the following three fields during the import:
| User meta key | Value | What it does |
|---|---|---|
| b2bking_b2buser | "yes" | Marks the account as a B2B customer |
| b2bking_customergroup | The group's ID | Assigns the account to its group (the ID is the number shown in the group's edit URL) |
| b2bking_account_approved | Leave it out, or set "yes" | Lets imported accounts log in right away |
The last field is the one that most often causes problems with imports. In one case, a merchant we helped imported several thousand customers and found that all of them were marked as "pending", because the import file had set b2bking_account_approved to "no". For accounts you already trust, it's best to leave this field out. In another case, an EU distributor we worked with used the same kind of import to bring in its entire customer base, with each client already assigned to its group, and copied each customer's VAT number into the VAT registration field at the same time.
If your trade customers already have WooCommerce accounts, you don't need to import them. B2BKing adds a bulk action for each group to the WordPress Users screen. You can select the trade accounts, choose their group and apply the action. To select more than 20 users at a time, increase "Number of items per page" under Screen Options. If every customer on your store is a trade account, you can also use B2BKing → Tools → User Editor and click "Move all users to group" to move everyone into one group at once. Keep in mind that this option moves every user on the site, so it should not be used on a store that also has retail customers.

The User Editor can also link employees of the same company. The "Set users as subaccounts of account" option turns separate logins into subaccounts under a main account. We'll cover subaccounts in more detail in Step 8.
We recommend waiting to send invitations until the portal is fully ready. The launch checklist further down explains when to send them and what to include.
Imported accounts don't need to go through an application, but new businesses that want to buy from you will. To enable this, turn on B2BKing → Settings → Registration → "Enable Dropdown & Fields". WooCommerce also needs to allow account creation on the My Account page. You can enable this in WooCommerce → Settings → Accounts & Privacy by ticking "On 'My account' page" under Account creation.
Registration roles control who can apply and what happens after they do. Each role can either wait for your manual approval or approve the applicant automatically into a group. Each role can also have its own fields. For example, "Retailer (requires approval)" and "Installer (requires approval)" can be offered side by side, with each one asking different questions. Registration fields collect the information you need to review an applicant, such as company name, phone number, a VAT or tax ID (with automatic VIES validation for EU businesses), and file uploads for documents like a trade license or resale certificate.

If you'd prefer to keep trade applications separate from the retail sign-up form, you can turn off "Enable Dropdown & Fields" and place the [b2bking_b2b_registration_only] shortcode on its own page. You can use [b2bking_b2b_registration] instead if you also want to include a login form.
When someone applies, they see a message explaining that their account needs to be approved, and they can't log in until you've reviewed it. To review an application, open the user's profile, check the information they submitted, choose the group they should belong to, and click "Approve user". The "Reject and delete user" button removes the account completely, so it's best used for spam rather than for businesses you might want to accept later. Pending accounts are also marked with a "Pending" badge on the B2BKing → Customers page, which makes that page the easiest place to work through several applications at once.

There are two settings that can prevent a lot of support emails at this stage. If you use manual approval, untick "Send password setup link" under WooCommerce → Settings → Accounts & Privacy, so that applicants choose their own password when they sign up. You should also install an SMTP plugin so that approval emails are delivered reliably. If your form starts receiving spam from bots, B2BKing includes built-in support for Cloudflare Turnstile on registration and quote forms.
Seeing their own prices is the main reason buyers log in to a portal, so this step is worth setting up carefully. B2BKing provides two pricing layers that work together.
Group prices cover your pricing tiers. For each group, every product and variation can have its own regular price, sale price and quantity tiers. For example, your Dealers group can pay one price while your Distributors group pays another. If you have a large catalog, B2BKing → Tools → Import / Export Tool lets you download all prices as a CSV file, edit them in a spreadsheet and upload the file again.
Customer price lists cover prices agreed with individual accounts. When a customer has negotiated its own prices on a set of products (for example, 40 products), open B2BKing → Customers, select the customer and use the Pricing tab to set regular prices, sale prices and quantity tiers for that account only. These prices replace the group price only for the products where you set them. All other products continue to use the group price.

Price lists can also be imported and exported as CSV files. "Download CSV price list" gives you a file that is already filled in with the current prices, and "Open Woo importer" loads your edited file back in. For example, one developer we worked with had about 150 trade customers, each with its own prices on roughly 650 products. Setting this up with discount rules would have been very difficult to manage, so we recommended customer price lists with CSV import instead. In this case, each account's prices can be downloaded as a pre-filled spreadsheet, edited, and imported again whenever a contract changes.
There are also a few additional options that dealers tend to find useful:
For more detail on both pricing models, see our guides to customer-specific pricing and role-based pricing.
Many distributors carry product lines that only some accounts are allowed to buy, such as an exclusive brand, a regional range, or products sold only to certified installers. To control this, set the product visibility option in B2BKing → Settings → Access Restriction to "Control Visibility". Each category then gets "Group Visibility" checkboxes for guests, B2C users and each business group, along with a "User Visibility" list for individual accounts. An individual product can override its category's settings by using "Manual setting (override category rules)".

Pages can be restricted as well. Page visibility by group hides a page from menus and redirects anyone who doesn't have access. This is useful for trade-only resources such as spec sheets, marketing materials or a "new this season" page. Within a page, the [b2bking_content] shortcode lets you show different content blocks to different groups. For example, the portal homepage can show one set of news to dealers and another to distributors.
Page caching is the most common cause we see of buyers seeing the wrong prices. A cache plugin saves the version of a page that one customer saw and then shows that same version to the next visitor. For a portal, logged-in buyers need either a separate cache for each user or no page caching at all. B2BKing also sets a b2bking_user_type cookie (with the value "b2b", "b2c" or "logged_out"), which cache plugins can use to tell guests, retail customers and trade buyers apart. In one support case, a drinks merchant's LiteSpeed cache was showing trade buyers the cached guest version of the shop. Our performance and caching guide explains what should and shouldn't be cached. Cache plugins such as WP Rocket and LiteSpeed need to be set up so that logged-in users are not served cached pages, and it is worth testing whether your host adds its own caching layer as well.
If placing a repeat order online takes longer than writing an email, most buyers will simply keep ordering by email. For this reason, reordering through the portal needs to be quick and easy.
By default, B2BKing adds a "Bulk order" section to the My Account page of every trade account. On this screen, buyers can search for products by name or SKU, enter quantities and add everything to the cart without opening individual product pages. Their own prices are applied automatically. The form comes in three designs: Classic, Indigo and Cream. You can also place a form on any page with the [b2bking_bulkorder] shortcode and limit it to a category or a selected list of products. The Cream design can additionally show SKU and stock columns. For products that come in many sizes or colors, the bulk variations table shows every variation in a single grid on the product page.

Purchase lists, which some buyers know as requisition lists, are saved shopping lists. A buyer can build a list once, or save their current cart with "Save as purchase list", and then add the whole list to the cart each time they need to reorder. Lists can also be downloaded as CSV files, and in company accounts they can be shared between colleagues.

Some buyers prefer to work in spreadsheets, or they export orders from their own systems. For these customers, the [b2bking_csvorder] shortcode lets them upload a CSV file with SKUs in the first column and quantities in the second, and the full order is added to the cart. This option isn't shown in My Account by default, but a short snippet can add it there. The parts manufacturer mentioned earlier, one of our customers, set up CSV quick orders for this reason, since its trade buyers reorder between 20 and 100 items at a time.
Once the order form is working, you can stop sending price lists by email. A PDF price list becomes outdated as soon as prices change, and anyone the buyer forwards it to can see all of your prices. A link to a live order form that shows the account's own prices stays up to date and is only visible to that customer.
Trade buyers rarely want to pay for large orders by card, and card fees on large orders can also be expensive for you. B2BKing adds two payment gateways for trade terms, which you'll find under WooCommerce → Settings → Payments:

Next, decide which groups can use which payment methods in B2BKing → Groups. For example, new accounts might start with card payment only, while established distributors are given invoice terms. You can also override the group setting for an individual customer from their profile, which is useful if you need to move a customer who pays late back to prepayment. Our guide to payment methods by user role covers the available options, including surcharges and order value limits for each method.
Dynamic rules let you set a minimum order value or quantity for each group, and the minimum can apply to the whole cart, a category or a single product. For example, retailers might need to spend $250 per order while distributors have no minimum. "Required Multiple" rules make buyers order in full cases, such as multiples of 6 or 12. Our minimum order guide describes all of the available rules.
If you let customers buy on account, the Company Credit add-on gives each customer a credit limit, which can be set globally, per group or per user. Buyers can't pay on credit for more than their available credit. By default, the credit gateway is only shown when the order total fits within the available credit, although you can choose to keep it visible and show an insufficient credit notice instead. In My Account, buyers can see their outstanding balance, available credit and transaction history. Company Credit is included in the Pro and Developer license packages.

Many trade customers have several people who need access to the same account. A garden center, for example, might have a buyer, two store managers and someone in accounting who needs the invoices. Sharing a single login between these people becomes a problem when one of them leaves the company.
With subaccounts, the main account holder can create logins for colleagues under My Account → Subaccounts and choose what each person is allowed to do. The available permissions are placing orders, placing orders that require approval, and viewing all of the company's orders, offers, conversations and purchase lists. Each order shows which person placed it, and the main account can log in as any subaccount to check what that person sees.

When "Orders require approval" is ticked for a subaccount, that person's checkout button changes to "Send for approval". The order is then held with a pending approval status, and the main account receives an email. The main account holder can approve or reject the order from their own Orders page. After the order is approved, either of them can pay for it. To use this feature, enable it under B2BKing → Settings → Other & Advanced → "Subaccounts & Company", and then turn on the "Company Order Approval" payment method in WooCommerce.

One of our customers uses this setup to supply more than a hundred schools. In each school, the principal holds the main account and the office staff and technicians are subaccounts. Orders placed by staff wait for the principal's approval before they are shipped.
For one-off or unusually large orders, buyers can add products to a quote request instead of the cart. Sending the request opens a conversation in My Account, where you and the buyer can discuss quantities and delivery. Once you've agreed on the details, you can create an offer in B2BKing → Offers with the agreed items and prices. The buyer will see the offer in My Account and can add it to the cart in one click or download it as a PDF with your logo. For accounts that should always negotiate their orders, the "Replace Cart with Quote System" rule turns their cart into a quote request.

The other common way to run a wholesale portal is with hosted portal software, which runs separately from your store and requires its own subscription. A WooCommerce portal runs on your existing store, and you own it outright. If you're comparing WooCommerce plugins, our best WooCommerce B2B plugins overview looks at the main options. Whichever route you choose, it helps to know which tasks B2BKing doesn't handle, so you can plan the rest of your setup. The table below lists these and the tools that usually cover them.
| You need | What to use |
|---|---|
| Invoices and statements | B2BKing doesn't generate invoices. You can use a PDF invoice plugin for invoices and your accounting software for statements. |
| ERP or accounting sync | B2BKing doesn't include an ERP connector. Because it stores its data as standard WordPress and WooCommerce data, existing WooCommerce ERP integrations continue to work. |
| Shipment tracking | The shipping or tracking plugin you prefer. |
| Sales reps placing orders for customers | SalesKing, our sales agent plugin, lets reps shop on behalf of a customer and earn commission. |
| Bulk invitations | The "Send password reset" bulk action in WordPress, together with your own email tool. |
When a portal launch runs into trouble, the cause is usually a small configuration detail. For example, one group may have no payment methods assigned, a cache may be showing the wrong prices, or approval emails may be landing in spam. It helps to go through the following checks before you invite any customers:
Once the checklist is complete, you can invite buyers in two steps. B2BKing doesn't send bulk invitations, but WordPress can do this for you. Go to Users, select the accounts and use the "Send password reset" bulk action. This way each buyer sets their own password, and you don't need to email passwords to anyone. Keep in mind that WordPress words this email as a password reset request and the link expires after 24 hours. For this reason, it's best to send your announcement first, send the password resets on the same day, and let buyers know they can use "Lost your password?" on the login page if the link has expired. A short message like this one usually works well:
Subject: Your new [Company] trade ordering portal
Hi [Name], you can now place orders with [Company] online at [portal URL]. Your account has already been set up with your current prices and payment terms. To set your password, use the link in the separate password email we've sent you. The link works for 24 hours, and after that you can use "Lost your password?" on the login page. Once you're logged in, you can use "Bulk order" in your account to reorder by product name or SKU. If you'd rather keep ordering by email, you're welcome to do that as well, and nothing changes on our side.
After launch, the B2BKing → Customers page shows each account's group, approval status and total amount spent. B2BKing → Reports gives a breakdown of sales for all B2B customers, for a single group or for a single account. A useful figure to keep an eye on is the share of each account's orders that are placed through the portal.
You can give each retailer a trade account on your WooCommerce store. With B2BKing, approved accounts log in and see their own prices. They can order through a bulk order form, a CSV upload or saved purchase lists, and then check out using invoice or purchase order payment. All of this takes place on your own domain, so there is no separate wholesale platform or marketplace to manage.
Create a page and add B2BKing's [b2bking_login_only] shortcode if you want a login form without a sign-up option, or [b2bking_b2b_registration] if you want a login form together with a B2B application form. Then link to the page from your menu. Registration shortcodes should not be placed on the My Account page, because buyers will then see a "You are already logged in" error. If you'd like trade buyers to go directly to the order form after logging in, you can add a login redirect snippet.
A private store only controls access. Guests can't see products or prices until they log in. A wholesale portal adds the features trade buyers need after they log in, such as account-specific prices and catalogs, quick reordering, payment on terms and company accounts. A B2B ecommerce site is the broader term. It can be fully public and designed to attract new business buyers, while a portal is the private ordering area for approved accounts.
Yes. Set B2BKing to "B2B & B2C Hybrid" mode and leave guest access set to "None". Retail customers will continue to see the store exactly as they do today, and approved trade accounts will get their own prices, payment terms and ordering tools after they log in. You don't need a second WordPress installation or a separate domain for this.
No. You can import them using the B2BKing group fields, or move existing WooCommerce customers into their groups with the group bulk actions on the WordPress Users screen. There is also B2BKing → Tools → User Editor, which moves every user into one group, so it's only suitable for a store that sells to trade customers only. After that, use the WordPress "Send password reset" bulk action so that each buyer can set their own password.
Yes. In B2BKing, group prices are used for tiers such as dealers and distributors, and customer price lists are used for negotiated prices on individual accounts. You can also limit product and category visibility to specific groups or individual users. This means each account only sees the product lines it's allowed to buy.
Yes. B2BKing's Invoice Payment gateway lets approved groups place orders now and pay later on terms such as Net 30. The Purchase Order gateway collects a PO number and, optionally, a document. You decide which groups or individual customers can see each of these payment methods.
Restrict access to the store with "Hide shop & products" or "Hide website / force login". For logged-in buyers, use a separate cache per user or turn off page caching for them. Otherwise, a page cached for one customer can be shown to another customer. Recent versions of B2BKing also keep products that guests aren't allowed to see out of REST and Store API responses, sitemaps and feeds. Before launch, test the store as a guest, as a retail customer and as a trade buyer.
Partly. B2BKing's free core plugin on WordPress.org includes customer groups, wholesale prices per group, discount rules, and payment and shipping methods per group. Our free Private Store plugin can hide prices or the entire store from guests. Registration with approval, order forms, purchase lists, customer price lists, invoice and PO payment, subaccounts and quotes are included in the paid version.
Configuring the settings is usually quick, and a basic setup can be done in an afternoon. Most of the time goes into preparing your data, which means a clean customer list with groups assigned, plus price lists for accounts that have negotiated prices. Starting with your most active accounts lets you go live sooner. If you would prefer to describe the setup instead of configuring each setting yourself, B2BKing's MCP integration allows an AI assistant to configure groups, pricing rules and customer assignments.
If your trade accounts are already in a spreadsheet or an ERP export, a good place to begin is the import described in Step 2.