NextWoo
B2B ecommerce

A faster B2B WooCommerce storefront, with the pricing rules intact

For trade stores already running on WooCommerce that have become slow to use: large catalogs, customer-specific prices, and quick-order screens that hang on a long list.

Business buyer working with an online ordering system on a laptop

A slow B2B WooCommerce store is usually slow for a reason a retail store is not: almost every buyer is logged in, and logged-in traffic skips the page cache that keeps retail WooCommerce fast. Every category page, every price and every quick-order lookup is then built fresh in PHP, often through a pricing plugin resolving a contract price per product on every request. The fix: cache what every account shares, and fetch only the account-specific part live. That is far easier in a separate storefront than inside a theme. NextWoo keeps WooCommerce and WordPress as the backend, rebuilds the customer-facing layer in Next.js, and checks pricing, quotes, purchase orders and ERP sync against real account roles before launch. If you are setting up trade ordering for the first time rather than speeding up a store that already has it, start with the wholesale online store and B2B ordering portal page instead.

01

Why logged-in trade buyers skip your page cache

Full-page caching is built around anonymous visitors. WP Rocket ships with caching for logged-in users switched off, and Varnish or a host-level cache is normally configured to pass any request carrying a WordPress login cookie straight through to PHP. That default is correct, since a cached page holding one buyer's contract price must never reach another buyer. On a B2B store where nearly every session is logged in, though, it means the cache serves the homepage to Googlebot and very little to customers. Each page pays the full cost instead: WordPress boot, the theme, WooCommerce, and a pricing plugin such as B2BKing or Wholesale Suite resolving a price for every product on, say, a 48-item category grid. Switching on per-user caching is the worse fix. It stores a separate copy of every page for every account and still misses on each buyer's first visit of the day. Object caching with Redis is worth doing first, because it cuts repeated database work without changing the architecture, but it leaves the PHP render in place.

02

Splitting the shared catalog from the account price

A separate storefront solves the cache problem by structure rather than by settings. Product names, images, specifications, documents and category listings are the same for every account, so they are built once, served from a CDN and refreshed when WooCommerce changes them. The price, the stock band and any account-only visibility are fetched per buyer after login, in one small request per page instead of a full PHP render. The contract price still comes from WooCommerce and the pricing plugin; the storefront displays it and never computes it. Restricted catalogs need extra planning. If some products are visible only to certain roles, the shared listing leaves them out and the account request adds them back, or that category is rendered per role. Before implementation we map the catalog structure, account states, user roles, API needs and cache rules, because the one rule that cannot bend is that nothing account-specific is ever written into the shared, cached layer.

03

Where a slow frontend costs a trade buyer time

A trade buyer arrives knowing SKUs and orders the same things repeatedly, so slowness hits the steps they repeat: finding a part number, seeing the right price, checking availability, adding many lines at once and checking out on account terms. A heavy WordPress theme slows every one of those, and it is worst on large catalogs and account dashboards. The full feature set those buyers expect, from case packs to net-30 terms, belongs to building a portal rather than speeding one up; on an existing store it is usually already there in plugins, and the job is making it fast without changing what it decides.

  • Account-specific pricing, roles and product visibility
  • Quick order, reorder and bulk add-to-cart flows
  • Quote requests, purchase orders and approval workflows
  • ERP, CRM, tax, shipping or inventory integrations that must be protected
04

Quick order on a catalog of tens of thousands of SKUs

Quick order is the screen B2B buyers use most and the first to slow down as the catalog grows. Every typed SKU is a lookup. A theme that resolves it with a meta query on _sku in wp_postmeta gets slower with each product added, while WooCommerce has kept SKU in its indexed wc_product_meta_lookup table since version 3.6, and a search index such as Algolia or Meilisearch is faster again for part numbers and manufacturer codes. Adding the list to the cart is the second bottleneck. Sixty lines added one request at a time means sixty round trips. The Store API accepts batched requests, and WordPress caps a batch at 25 by default, so the same order goes in three. Test it with the longest real order in last quarter's history, not with five lines typed by a developer.

05

Faster reordering for buyers who already know the SKU

The rebuild covers catalog pages, product lists, product templates, account navigation and add-to-cart flows. Repeat buyers wait less. Meanwhile the backend rules keep deciding what each account can see, buy and pay. Judge it on one number: how many taps a returning buyer needs to reorder last month's basket. Three is achievable. If it is nine, the account area is the project.

06

Roles, contract pricing and approvals stay where they are

WooCommerce remains the operational backend for products, customers, orders, coupons, taxes, shipping and user roles. B2B plugins that control pricing, visibility, quotes or approvals, whether B2BKing, Wholesale Suite or custom code, are audited for an API path before any frontend commitment, because a rule the storefront cannot read is a rule it will silently ignore. Native WooCommerce checkout stays the default whenever payment terms, purchase order fields, freight rules, tax exemptions or shipping logic are too important to rebuild quickly. A faster frontend also leaves the one-install-or-two question exactly where it was: one storefront can serve trade and retail from a single WooCommerce install, and splitting them is an operational decision, not a performance one.

07

Trade prices, caches and crawlers after the switch

Gating trade prices from search is a portal requirement first, and doing it properly with authentication, noindex, and sitemap and feed exclusion is covered under keeping trade prices out of Google and product feeds. A migration adds one risk of its own: a new frontend with aggressive static caching can bake one account's price into a page it then serves to everyone. After every deploy that touches caching, request a sample of gated URLs with no session, using curl or a private window, and confirm none of them returns a price.

08

Test accounts for every customer role

The launch checklist needs a test account for each customer role, plus quote and purchase order scenarios, tax exemption checks, freight or pickup rules, payment terms, ERP/CRM sync, stock updates and analytics. A B2B migration has succeeded only when the real ordering paths still work for sales, operations and finance after the frontend changes.

09

Measure productivity, not pageviews

B2B analytics should measure productivity: account login success, search usage, quick-order completion, quote submission, repeat order starts, add-to-cart by SKU count and checkout completion by customer role. In GA4 those are custom events with the customer role as a parameter, set up before launch so there is a baseline from the old storefront. Those numbers show whether the faster storefront helps buyers place real orders with less effort.

10

When a B2B storefront rebuild pays for itself

A Next.js storefront fits a B2B WooCommerce store with a large catalog, slow repeat-order flows, sales reps ordering from phones or a redesign need, where the business wants to keep WooCommerce operations. If the store relies on a fragile custom plugin with no API path, a storefront rebuild is premature. Plugin remediation comes first, and the rebuild waits behind it. And if most trade orders still arrive by email, the storefront is not the bottleneck yet; getting buyers to order online at all comes before making the ordering fast.

Frequently asked questions

Still have questions?

Reach out and we'll get back to you within 24 hours.

Contact us
Why is my B2B WooCommerce store slow when customers log in?

Because logged-in sessions bypass the full-page cache, so every page is rendered in PHP for every buyer, often with a pricing plugin calculating a contract price per product. Object caching helps; separating the shared catalog from the per-account price fixes it.

Can page caching work with customer-specific pricing?

Not at the page level without risk, since a cached page with one account's price could reach another. What works is caching the shared catalog and fetching the account's prices and stock separately after login.

Can we keep quote requests and purchase order fields?

Usually yes, through native WooCommerce checkout or carefully mapped plugin flows. Those scenarios need staging tests with real account roles.

Is B2B checkout harder to make headless?

Often yes. Payment terms, tax exemptions, freight and approval rules make native or hybrid checkout the safer default for many B2B stores.

Related reading
  • Large WooCommerce catalog

    Keep a WooCommerce store with many products fast: facet queries off wp_postmeta, search on ElasticPress or Algolia, controlled crawling past 2,000 SKUs.

  • WooCommerce cart API

    Build a responsive cart on a Next.js storefront with the WooCommerce Store API: session tokens, coupons and stock validation, then a safe handoff to checkout.

  • Headless WooCommerce migration

    Headless WooCommerce migration from $1,999: a Next.js storefront in front of your store, with WordPress admin, hybrid checkout, SEO URLs and plugins kept.

  • B2B and wholesale portal

    A wholesale online store on WooCommerce: account pricing, minimum quantities, quick order by SKU, net-30 on a PO number, and trade prices kept out of Google.

  • Slow WooCommerce store

    Slow WooCommerce store? Match each symptom to its fix and to who should do it: your host, a developer inside the current theme, or a storefront rebuild.

  • Electronics stores

    An electronics WooCommerce store sells on specs, compatibility and price. What that means for filters, product data, Google Shopping feeds and warranty terms.

See how many sales your store is losing

Start with a free speed audit. You'll get your store's real numbers and an honest recommendation — even if it's "you don't need us".

Anything you already suspect — checkout feels slow on phones, the category pages crawl, you were told the theme is the problem. Guesses are useful; we check them.

No sales call — you'll get a written report with your store's numbers.

By requesting an audit you accept our Privacy policy and Terms of service. We may publish an anonymised summary of the findings as an example of our work. We never name your business without your written consent.