# B2B Online Store on OpenCart: What You Need to Sell to Wholesale Customers

> What OpenCart offers out of the box for wholesale sales, what is missing, and the order in which to set up a B2B online store for dealers and companies.

Джерело: https://opencartcode.com/en/wiki/b2b/b2b-online-store
Оновлено: 2026-11-30

A B2B online store sells not to retail buyers but to companies, sole proprietors and dealers: with separate prices, customer verification before access, and orders in large quantities. For this, [OpenCart](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#opencart) has a solid foundation out of the box (customer groups, quantity-based wholesale discounts, registration moderation, hiding prices from guests), while a dealer account area, documents and credit limits will need to be added through modules or integration with an accounting system.

## How does a B2B store differ from a regular one?

In retail everything is simple: one price for everyone, a guest puts a product in the cart and pays by card. Wholesale trade works differently, and these differences determine what needs to be configured.

- **Different prices for different customers.** A first-tier dealer, a regular wholesaler and a retail buyer see different amounts for the same product.
- **Restricted access.** Wholesale prices are often not shown to everyone: the customer registers, a manager verifies the company, and only then is access granted.
- **Order volume.** Products are sold from a certain quantity, by boxes or pallets, and the price drops as the batch size grows.
- **Payment not upfront.** Instead of a card, there is often an invoice, a bank transfer with or without VAT, or deferred payment for verified customers.
- **Repeat orders.** A wholesaler buys the same range every week, so fast reordering, order history and documents matter to them.
- **Company details.** Company name, tax identification code (EDRPOU or IPN), VAT payer status: all of this is needed for the invoice and waybill.

OpenCart covers part of this with settings, and part not at all. So it is worth first honestly sorting requirements into "basic" and "additional", so you don't buy modules for what is already in the core. If you are only choosing a platform, it is useful to compare options in the overview of [which CMS to choose for an online store](https://opencartcode.com/en/wiki/start/which-cms-to-choose-for-an-online-store) and to assess the [strengths and weaknesses of OpenCart](https://opencartcode.com/en/wiki/start/opencart-pros-and-cons).

## What can OpenCart do for wholesale out of the box?

Here is what is available in OpenCart 3.0 and 4.1 without any add-ons:

| Feature | Where it is configured | What it gives B2B |
| --- | --- | --- |
| Customer groups | Customers → Customer Groups | Separate prices, taxes and fields for wholesalers and dealers |
| Quantity discounts | Product → Discount tab | Price depends on the customer group and batch size |
| Moderation of new customers | Customer Group → "Approve New Customers" | A new wholesaler cannot log in until a manager approves them |
| Prices only after login | System → Settings → Option tab | Guests do not see prices |
| Group selection at registration | Same place, "Customer Groups" field | The customer chooses "Wholesale Buyer" themselves |
| Custom fields | Customers → Custom Fields | EDRPOU, company name, VAT status only for the relevant groups |
| Minimum quantity | Product → Data tab | An order cannot be placed for less than the set quantity |
| Tax rates by group | System → Localisation → Taxes → Tax Rates | A rate applies only to selected groups |

This is enough to run a simple wholesale channel: a registered and approved wholesaler sees their prices, while a retail buyer sees retail prices. For a small supplier with a few dozen customers, such a scheme often works for years without a single module.

> Start with the built-in features and live with them for a month. Then it will be clear what your customers are actually missing, and you will buy one precise module instead of five "just in case".

## How do you set up customer groups and wholesale prices?

A [customer group](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#customer-group) in OpenCart is a label that determines which price, additional fields and tax rates the buyer sees. Create groups in the menu "Customers → Customer Groups": for example, "Retail" (the default group), "Wholesale" and "Dealer".

Customer groups list: here the «Wholesale» and «Dealer» groups are created · OpenCart 4.1.0.4

Next, prices are linked to groups in the product card, on the "Discount" tab. Each row contains a customer group, quantity, priority, price and validity dates. A row with quantity 1 sets the base price for the group, and rows with larger quantities give the price per batch: from 10 pieces one amount, from 50 another.

There is an important difference between versions here:

- **OpenCart 3.0**: the discount row takes a ready-made price. Promotions (temporary prices) are moved to a separate "Special" tab.
- **OpenCart 4.1**: promotions and discounts are stored together, and in the row you choose a type: a fixed price, a percentage of the price, or an amount to subtract. The percentage is convenient for wholesale: "−15% for dealers" does not need to be recalculated after the retail price changes.

Product form: on the «Discount» tab the price for a group and quantity is set · OpenCart 4.1.0.4

The main trap is the amount of manual work. If you have 3000 products and three groups, entering prices by hand is unrealistic. Wholesale prices are usually loaded by import from Excel or from accounting software; there is a separate guide on [importing products from Excel and CSV](https://opencartcode.com/en/wiki/integrations/opencart-product-import-excel). More about the logic of groups and prices will be covered in a separate article in the section "Customer Groups and Wholesale Prices".

## How do you hide wholesale prices from outsiders?

There are three levels of restriction, and they can be combined.

### Prices only for logged-in users

In the menu "System → Settings" (System → Settings), on the "Option" tab, there is a parameter "Prices only after login" (Login Display Prices). When it is enabled, guests see the catalog without prices. The buy button in the standard theme remains, so hiding it or preventing guests from buying requires template modification or a module. The catalog stays open to search engines, which is good for SEO.

Option tab: groups at registration and showing prices only after login · OpenCart 4.1.0.4

### Group selection at registration

The "Customer Groups" field (Customer Groups) on the same tab determines which groups the buyer can choose themselves in the registration form. If you fill it in, the default group must be in the list: otherwise OpenCart will not save the setting and will show an error.

### Approval of new customers

The customer group form has a switch "Approve New Customers". For the "Wholesale" group, enable it: a new customer registers, but can log in only after a manager approves them in the menu "Customers → Customer Approvals". For retail, leave it disabled so as not to scare off ordinary buyers.

> If you enable prices only after login for the whole store, retail buyers will not see prices either. For a mixed model (retail and wholesale on one site) this parameter is usually left disabled, and wholesale prices are shown only through the customer group.

## How do you collect company details at registration?

An invoice and waybill require data that is not in the standard form: the legal entity name, EDRPOU or IPN code, VAT payer status, legal address. They are added via "Customers → [Custom Fields](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#custom-fields)" (Customers → Custom Fields).

Each field is linked to customer groups, and for each group separately it can be made mandatory. That means a retail buyer will not see the "EDRPOU" field, while a wholesaler cannot register without it. The field is placed in the account details or in the address, and in both cases the buyer also fills it in during checkout without registration. For the code, it is worth setting validation with a regular expression to filter out obvious errors, such as letters or an incorrect number of digits.

Custom fields: linking the «EDRPOU» field to the «Wholesale» group · OpenCart 4.1.0.4

A typical set for Ukrainian B2B:

- full company name or the sole proprietor's full name;
- EDRPOU or RNOKPP code;
- VAT payer: yes or no (this determines how the invoice is issued);
- contact person and position, if the order is placed by someone other than the owner;
- preferred delivery method, for example own carrier or [Nova Poshta](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#nova-poshta).

How to issue invoices and receipts for non-cash payments from legal entities depends on your taxation system; general rules are described in articles on [choosing between a sole proprietorship and an LLC](https://opencartcode.com/en/wiki/legal/sole-proprietorship-or-llc-for-online-store) and [PRRO for an online store](https://opencartcode.com/en/wiki/legal/prro-for-online-store), but it is better to check the details with an accountant.

## What is missing out of the box and what to add with modules?

The OpenCart core is designed primarily for retail. Here are typical B2B needs that it lacks or only partially covers:

- **Dealer account area.** The standard account shows order history, but not invoices, waybills, reconciliation statements or outstanding debt. This is usually a module or data coming from an accounting system.
- **Invoice payment and deferred payment.** The built-in bank transfer method only shows text with bank details. Generating a PDF invoice, a credit limit and debt control require customization.
- **Payment and shipping methods by group.** Out of the box they are restricted by geozones and amount, not by customer group. Hiding card payment from dealers or offering them "Pickup from warehouse" can be done with a module or a small customization.
- **Order multiplicity.** A [minimum quantity](https://opencartcode.com/en/wiki/glossary/e-commerce-glossary#minimum-quantity) exists, but sales "only in boxes of 12" do not. There will be a separate article on this in the section "Minimum Order and Multiplicity".
- **Quick order list.** It is more convenient for a wholesaler to enter SKUs and quantities into a table or upload a file than to browse product cards. A quick order module or [simplified one-page checkout](https://opencartcode.com/en/wiki/checkout/opencart-fast-checkout) can help here.
- **Commercial offer.** For large or non-standard batches, a "Request a price" button instead of a cart is often needed.

When choosing a module, check whether it works through events rather than by editing core files, whether it supports your version (3.0 or 4.1), and whether it is compatible with other pricing modules. Two modules that change the price in the cart at the same time are the most common cause of "incorrect totals" in wholesale stores.

## How do you connect a B2B store with accounting and CRM?

In wholesale, the website rarely lives on its own. Prices, stock levels and debts are usually kept in accounting software, while managers work with customers in a CRM. If data is transferred between them manually, errors are inevitable: a dealer sees an old price or orders a product that is no longer available.

A sensible integration order is as follows:

1. **Stock levels.** Synchronize availability at least once every few hours; warehouse setup is described in the article on [inventory management in OpenCart](https://opencartcode.com/en/wiki/operations/opencart-inventory-management).
2. **Prices by group.** Export prices for each group from accounting so they flow into product discounts automatically.
3. **Orders.** Pass new orders to accounting or CRM along with the details from the custom fields.
4. **Documents and debts.** Return invoices, shipment statuses and outstanding debt to the customer's account area.

The first three points solve most of the pain; the fourth is the most expensive and is most often postponed. How to choose a system for working with customers is covered in the overview of [CRM for an online store](https://opencartcode.com/en/wiki/integrations/crm-for-online-store).

> Agree on which system is the master for each type of data. For example: prices and stock are mastered in accounting, product descriptions and photos on the site. Without this, synchronization will sooner or later overwrite someone's manual edit.

## Summary

- For a simple B2B online store, OpenCart 3.0 and 4.1 already have customer groups, prices by group and quantity, registration moderation, prices only after login, and custom fields for company details.
- In 4.1 a discount can be set as a percentage; in 3.0 only as a ready-made price, and promotions are on a separate tab there.
- A dealer account area with documents and debts, invoice payment with deferred terms, payment methods by group and order multiplicity are modules or customization.
- With a large range, group prices are loaded by import or from an accounting system rather than entered by hand.

Start by creating the groups and setting up approval, then add the company detail fields and upload wholesale prices. Other topics about wholesale, dealers and subscriptions are collected in the section [B2B, wholesale and subscriptions](https://opencartcode.com/en/wiki/b2b).

## FAQ

**Can you run retail and wholesale on the same OpenCart site?**

Yes. Retail customers see the regular price, while wholesale customers see their group's prices after logging in. A separate site is only needed when the range, design, or wholesale terms are completely different.

**Will a wholesale customer see the wholesale price if they are not logged in?**

No. Without logging in, OpenCart treats the visitor as the default group and shows that group's prices. That is why wholesale customers should be reminded to log in before ordering.

**What happens if a wholesale customer orders less than the wholesale minimum?**

They get the price that matches the quantity in the cart: if the "from 10 pieces" threshold is not reached, the price for the smaller quantity or the group's base price applies.

**Can an already registered customer be moved to the "Wholesale" group?**

Yes, a manager changes the group in the customer form in the admin panel. The customer will see the new prices on the next page load, because the group is read from the database for every request.
