Developers who look after Magento customer groups on a B2B store tend to add them the same way: a new trade account signs, it needs its own prices, and one more group is the quickest way to give it them.
A customer group is the label Magento (Adobe Commerce) puts on every shopper, guests included, and it decides which prices, discounts, and tax class they get. The list under Customers > Customer Groups grows by a group per account or deal, and the old ones rarely get deleted.
Meanwhile, the overnight price update finishes a little later each month. That update is a reindex: Magento rebuilds its price index, the precomputed table it reads prices from instead of working them out while a page loads.
Before the next group goes in, it’s worth knowing what each one costs and which old ones still earn their place.
What customer groups are in Magento
Magento customer groups put every shopper into exactly one group, and the group decides which prices, rule discounts, and tax class apply. Each customer account belongs to one group. Guests have a group too, NOT LOGGED IN, so a visitor who never signs in still gets a price list and a tax class like everyone else.
Magento 2 customer groups are managed in the admin under Customers > Customer Groups. Adobe’s customer groups guide lists the fields a new group has.
- Group Name, unique and fewer than 32 characters
- Tax Class
- Excluded Website(s), none excluded by default
Out of the box, Magento includes NOT LOGGED IN, General, and Wholesale. New accounts go to the default group, which is General unless someone changed the setting.
You can’t delete NOT LOGGED IN or whichever group is set as the default. When you delete any other group, Magento moves its customers to the default group.
What a customer group changes
A customer group changes what its shoppers pay and how they are taxed. It picks their group and tier prices, the catalog and cart price rules that apply to them, and the tax class used on their orders. On Adobe Commerce B2B, a group also stands behind each shared catalog a company buys from. The table shows where you set each one and whether it adds price index work.
| Setting | Where you set it | What the group changes | Price index? |
|---|---|---|---|
| Group price and tier price | Product > Advanced Pricing | Price at quantity 1 and quantity breaks | Yes |
| Catalog price rule | The rule’s Customer Groups field | Discounted price, through the catalog rule tables | Yes |
| Cart price rule | The rule’s Customer Groups field | Cart discount, worked out in the cart | No |
| Tax class | The group’s Tax Class field | Which tax rule applies | No |
| Shared catalog (Adobe Commerce B2B only) | The shared catalog’s own pricing | Company prices, through the group it creates | Yes |
Group prices and tier prices
On a product, open Advanced Pricing and find the Customer Group Price section. Each row has a Website (on multi-site stores), a Customer Group, a Quantity, and a Price, entered as a fixed amount or a discount percentage. Adobe’s group price guide walks through the screen.
A group price is simply a tier price with a quantity of 1. A row can target one group or ALL GROUPS, and one website or all of them.
When the price index is rebuilt, Magento takes each group’s quantity-1 price and compares it with the regular price, any active special price, and any catalog rule price for that group. The lowest one becomes that group’s final price.
Catalog price rules and cart price rules
Both rule types have a Customer Groups field, and a discount reaches only the groups ticked there. Cart price rules are worked out in the cart.
Catalog price rules are calculated ahead of time. A rule writes a row for every matched product, website, and group it covers, and its price table keeps three days of prices (yesterday, today, and tomorrow) for each website and group.
Guests are in NOT LOGGED IN, so a rule assigned to General alone never reaches them. Our guide to catalog price rules that don’t apply covers that and the other usual causes.
Tax classes
Each group carries one customer tax class, and the default groups use “Retail Customer.” A tax rule combines a customer tax class, a product tax class, and a rate, so moving a customer to another group can change the tax on their orders.
EU stores can also let VAT ID validation pick the group. With automatic group assignment switched on (it’s off by default), Magento moves the customer into a group based on the result of the VAT check, and that group’s tax class decides the tax.
Shared catalogs on Adobe Commerce B2B
Shared catalogs come with the B2B extension for Adobe Commerce, and Magento Open Source doesn’t have them. Our overview of Adobe Commerce B2B features covers what else the extension adds.
According to Adobe’s shared catalog documentation, a store has one public shared catalog, initially assigned to General and NOT LOGGED IN, plus as many custom shared catalogs as it needs. A custom catalog’s prices are visible only to signed-in buyers from the companies assigned to it.
Creating a shared catalog also creates a customer group with the same name. A Magento B2B store that gives every company its own catalog therefore has at least one group per company, and the indexers treat each one like any other group.
Page cache
The shopper’s group is also part of the context that full page cache varies pages by, so each group in use gets its own cached copy of a page. Our Magento full page cache guide explains what that does to hit rates on B2B stores.

๐ Quick takeaway
Guests are a customer group too. A group price, catalog rule, or shared catalog that leaves out NOT LOGGED IN never reaches a shopper who hasn’t signed in.
Why a Magento tier price is not showing
A Magento tier price is not showing when it fails one of the checks the product page runs before it lists tiers. The page shows only the tiers the current shopper’s group can use, and only those that beat the price that shopper already gets. So a tier can be saved correctly in the admin and still be missing from the page.
The first four checks come from the tier price filter (TierPrice.php) in Magento 2.4.8, and the fifth from how tier prices are stored.
- The tier belongs to another customer group and isn’t set to ALL GROUPS (and guests are in NOT LOGGED IN)
- The tier has a quantity of 1, which makes it the group price: it is applied as the price itself and never listed as a tier
- The tier isn’t lower than the current final price, for example because a special price or a catalog rule price is already lower, and each next tier has to beat the one before it
- Another tier for the same quantity is lower, and only the lowest one is shown
- The tier is set for one website, so it applies only on that website
On a store whose indexers run on Update by Schedule, the price index picks up tier price changes on the next cron run. Our hub guide explains how Magento indexing works if that run seems stuck.
How customer groups multiply the Magento price index
Magento customer groups multiply the price index because its table, catalog_product_index_price, stores one row per product, website, and customer group. Its primary key is exactly those three columns. The Product Price (catalog_product_price) indexer fills that table, so every group you add gives it another full set of rows to compute and write.
The rows come from the base price query in Magento 2.4.8. It starts from the products, joins the websites each product is assigned to, keeps enabled products only, and then joins every customer group with no condition at all.
Tier and group prices are joined as optional data, so a group gets its rows whether or not it has a single price of its own. The only website and group pairs the query drops are the ones you excluded.
That gives a simple estimate, with NOT LOGGED IN counted as a group.
rows โ enabled products ร websites per product ร customer groups
Here is the formula worked through for 100,000 enabled products on two websites. It’s arithmetic, not a measurement.
| Enabled products | Websites | Customer groups | Price index rows |
|---|---|---|---|
| 100,000 | 2 | 3 | 600,000 |
| 100,000 | 2 | 10 | 2,000,000 |
| 100,000 | 2 | 30 | 6,000,000 |

Adobe describes the same effect in its indexer optimization guide: each website, customer group, shared catalog (Adobe Commerce B2B only), and product SKU “must all be indexed against each other” in the product price and catalog rule tables. With many of each, Adobe adds, those two indexers can take a long time.
Catalog rule tables multiply too
Catalog price rules have their own tables, and groups multiply them the same way. For each rule, catalogrule_product holds matched products ร websites ร groups. catalogrule_product_price holds a price per product, website, group, and day, for three days.
The tier price index, catalog_product_index_tier_price, uses the same three key columns as the price index. Product Price also depends on the catalog rule indexer, so all of these tables grow with the same list of groups.
Saving a group sends the price index back for a full rebuild
In Magento 2.4.8, a plugin on the customer group repository marks Product Price invalid after every group save, for new and existing groups alike. The Save button in the admin goes through that same repository.
Cron’s indexer_reindex_all_invalid job runs every minute, finds the invalid indexer, and rebuilds the whole price index. Adding an excluded website to a group goes further and also invalidates Catalog Rule and Catalog Search.
So every group edit is also a full price rebuild. Plan group changes the way you would plan any change that rebuilds an index: together, and outside business hours.
๐ Quick takeaway
Renaming a customer group or changing its tax class is enough to mark the whole price index invalid. One batch of edits costs one rebuild. Ten saves spread across a working day can cost ten.
How to keep the price index in check with many groups
Three changes cut the number of rows: removing or merging groups that price the same, excluding the websites a group never buys on, and assigning fewer groups to each catalog price rule. Dimensions mode keeps every row and splits the work so it can run in parallel. Start with an audit of the groups you have.
Find the groups nobody uses
A few queries show which groups are in use. The first counts customers per group.
SELECT g.customer_group_id, g.customer_group_code, COUNT(c.group_id) AS customers
FROM customer_group g
LEFT JOIN customer_entity c ON c.group_id = g.customer_group_id
GROUP BY g.customer_group_id, g.customer_group_code
ORDER BY customersThe second lists the groups with their own group or tier prices, leaving out rows set for ALL GROUPS.
SELECT customer_group_id, COUNT(*) AS price_rows
FROM catalog_product_entity_tier_price
WHERE all_groups = 0
GROUP BY customer_group_idThe last two list the groups assigned to catalog price rules and to cart price rules.
SELECT customer_group_id, COUNT(*) AS catalog_rules
FROM catalogrule_customer_group
GROUP BY customer_group_idSELECT customer_group_id, COUNT(*) AS cart_rules
FROM salesrule_customer_group
GROUP BY customer_group_idA group with no customers, no prices of its own, and no rules is a candidate for removal. Check first whether an extension refers to it, and on Adobe Commerce also check shared catalogs (Adobe Commerce B2B), company accounts, and category permissions.
Merge groups that price the same
Two groups with the same prices on every product each add a full set of rows, and their shoppers see no difference. Move the customers into the group you keep yourself, then delete the other one.
If you delete the group first, Magento moves its customers to the default group, which may be the wrong price list for them. Do the whole merge in one window, since every group save invalidates the price index.
Exclude websites a group never buys on
By default, every website is assigned to every group. Websites you exclude from a group aren’t indexed for it, so each exclusion removes that group’s rows for one website. Exclusions come with conditions.
- Saving one invalidates Product Price, Catalog Rule, and Catalog Search
- NOT LOGGED IN can’t exclude websites
- Customers in the group can’t log in on a website excluded for it
On a store with many products, websites, and groups, Adobe recommends pausing the reindex process until the exclusions are in. For Adobe Commerce B2B, you can’t exclude websites on the shared catalog itself, so set the exclusion on the customer group the shared catalog created. Our post on website exclusions and dimensions mode covers both settings as reindex fixes.
Split the price index by customer group
The price indexer dimensions mode decides how the price index is split into tables. Product Price has four modes.
| Mode | What it splits | Tables |
|---|---|---|
none (default) | Nothing | One table |
website | By website | One per website |
customer_group | By customer group | One per group |
website_and_customer_group | By both | One per website and group pair |
You set and check the mode from the command line, as Adobe’s indexer management guide shows.
bin/magento indexer:set-dimensions-mode catalog_product_price customer_group
bin/magento indexer:show-dimensions-modeThe total number of rows stays the same, because each table holds only its own group’s rows. What changes is that a full rebuild can process the tables in parallel when MAGE_INDEXER_THREADS_COUNT is above 1, run from the command line with PHP’s pcntl extension. A new group gets its own tables the moment it is saved.
Switching modes copies the current rows into the new tables without a full reindex. In Magento Open Source, Product Price is the only indexer with dimension modes, and Adobe Commerce adds a customer group mode for Catalog Permissions.

๐ Quick takeaway
Dimensions mode lets a full price rebuild run in parallel only when MAGE_INDEXER_THREADS_COUNT is above 1. Without it, Magento rebuilds the per-group tables one after another.
When every group is a real price list
On some B2B stores there is nothing left to merge. Each group is a contract, or a shared catalog on Adobe Commerce B2B, with its own prices, so the rows in the price index are the price list. Website exclusions and dimensions mode still help, and once they are in place, the remaining lever is how fast the indexer itself rebuilds those rows.
Expedio Indexers replaces Magento’s own indexers with ones written in Go and writes the same index data. It runs beside Magento, and the theme, extensions, and admin stay as they are. We measured it on November 5, 2026, on a copy of a multi-store retailer’s catalog with 421,000 products on Adobe Commerce 2.4.5. The product price index took 54 minutes with Magento’s own indexer and 5 minutes 27 seconds with Expedio Indexers (9.9x), and both wrote the same index data, as the benchmark shows. Expedio Indexers doesn’t remove groups nobody needs, and it doesn’t fix bad data or a cron that doesn’t run. A store with a few groups, a small catalog, and a five-minute reindex doesn’t need it.
FAQ about Magento customer groups
What are the default customer groups in Magento?
Out of the box, Magento includes NOT LOGGED IN, General, and Wholesale. NOT LOGGED IN covers every guest, and General is the default group for new accounts. You can’t delete NOT LOGGED IN or whichever group is set as the default, and when you delete any other group, its customers move to the default group.
What is the difference between a group price and a tier price in Magento?
A group price is a tier price with a quantity of 1 for one customer group, and it replaces the product’s price for that group. Tier prices with higher quantities are the “buy N for X each” breaks listed on the product page. Both can target one group or ALL GROUPS, and one website or all websites.
Does saving a customer group trigger a reindex?
Yes. Every save through the customer group repository, the admin Save button included, marks Product Price (catalog_product_price) invalid, and cron starts a full rebuild of the price index within a minute or two. Adding an excluded website to a group also invalidates Catalog Rule and Catalog Search, so group edits are best batched outside business hours.
Are shared catalogs available in Magento Open Source?
No. Shared catalogs come with Adobe Commerce B2B, an extension installed on Adobe Commerce, so Magento Open Source stores don’t have them. Each shared catalog creates a customer group with the same name, which means every catalog you add also adds a group to the price index and the catalog rule tables.
Does deleting customer groups make reindexing faster?
Deleting a group means the next full price reindex no longer computes rows for it, and the catalog rule tables lose its rows too, so there is less to write. How much time that saves depends on the store. The group’s customers move to the default group, so move them on purpose first. NOT LOGGED IN and the default group can’t be deleted.
Keep the groups that earn their rows
Magento customer groups are the simplest way to give a buyer their own prices, and every one of them adds a full set of rows to the price index and the catalog rule tables. A group that prices the same as another, or that nobody belongs to, adds as many rows as the group for your largest account.
Count customers, prices, and rules per group with the queries above, then merge the groups that price the same and exclude the websites a group never buys on. Split the price index by group or website, and give the rebuild threads so the tables run in parallel.
Keep group edits together and outside business hours, since each save sends the price index for a full rebuild. What’s left after that is the list of groups your buyers actually pay from.
Send us your customer group list and we'll go through it with you, along with your price index setup, and say which groups to merge first.






























Share on: