What the Seller Pages Are
On a multi-vendor marketplace, shoppers want to see who they are buying from. The storefront ships an optional set of seller pages for that:
The seller pages are an opt-in addon. They are off by default; a single-vendor storefront never renders any seller UI.
The seller pages are a starting point, not a fixed feature. They read public seller data from the Store API through
@spree/sdk (client.sellers.list and client.sellers.get), so you can restyle them, add fields, or build your own seller experience on the same calls.Enabling Seller Pages
Seller pages turn on through a single environment variable:- every
/sellersroute returns a real 404, - the header, mobile menu and footer don’t link to sellers,
- product pages don’t fetch the seller or show a Sold by line,
- header search doesn’t look up sellers,
- the sitemap and
llms.txtleave sellers out.
Which Sellers Appear
The storefront shows whatever the Store API returns, and the Store API only returns sellers that can trade:- Approved sellers appear in the directory and have a profile page.
- Sellers still onboarding, suspended, rejected, or on holiday are left out of the directory, and their profile URL returns a 404.
- A seller’s product listing shows only their active products — drafts, proposals awaiting review and rejected listings stay hidden, exactly as on the rest of the storefront.
Checkout and Order History
Nothing needs switching on for checkout. A basket can hold products from several sellers, and the customer checks out once. When the cart reaches more than one seller, completing it produces an order group — one order per seller under a single purchase — and the storefront already handles both shapes:- the order-placed page and confirmation work for a single order or a group,
- Account → Orders shows a group as one row (one purchase), not one row per seller,
- the order detail page lists each seller’s part of the purchase.
SPREE_MARKETPLACE_ENABLED: the checkout handles order groups whether or not seller pages are shown.
Caching
Seller data is cached like the rest of the catalog:
Product webhooks (
product.*, delivered to the storefront’s /api/webhooks/spree endpoint — see .env.example for the event list) expire product lists, so a listing approved or taken down reaches the seller’s page right away. Changes to a seller’s own profile — name, logo, about text, policies — appear when the 10-minute cache expires.
Customizing
To show more about a seller, add the field to
SELLER_CARD_FIELDS in src/lib/data/sellers.ts (the directory requests only the fields a card needs, to keep the cached payload small) or to the expand list on the profile page, then render it in the component.
If you build your own storefront, the same data is available from any Store API client:
Related
- Build a Multi-Vendor Marketplace — setting up sellers, commissions and payouts on the backend
- Sellers — the seller model, lifecycle and order splitting
- Environment Variables — every variable the storefront reads

