Skip to main content

Set up a storefront

A storefront is one web shop: its address, its look and its rules. It sells for one of your companies, and every company in the account that shares the commerce group sees the same storefronts.

1. Create it​

Commerce → Storefronts → New storefront. Give it a name your staff will recognise, such as Northside trade shop, and the company it sells for. It starts as a draft: nobody can reach it yet, so you can set it up in peace.

2. Give it a domain​

Open the storefront. On Domains, add the address buyers will type, such as shop.northside.example. Then point that address at your storefront server with your domain provider (a CNAME record, as your storefront host tells you).

  • The first domain you add becomes the primary domain. Every email and link the storefront sends uses it.
  • Add more addresses (www., an old shop's address) and choose Make primary on the one you want buyers to see.
  • An address can belong to one storefront only. If another storefront already holds it, the screen says so.

3. Give it your brand​

On Brand, choose Edit and paste your theme: colours for light and dark, fonts, corner radius and logo. Your designer's tool produces it as a theme.json document. The preview draws the storefront's header in both light and dark, so check it before you save.

A theme with a mistake is refused when you save it, with the reason. A storefront with no theme draws the default look, so a missing brand never breaks the shop.

4. Choose its settings​

On Settings, decide how the storefront behaves. The ones to choose before going live:

  • Who sees prices: everybody, or only signed-in buyers.
  • What a new web order becomes (order.initial_status). See Handle web orders and approvals.
  • What checkout asks for: the buyer's PO number (checkout.po_number) and a requested delivery date (checkout.requested_date), each never, optional or required.
  • The minimum order (checkout.minimum_mode), when the storefront sells for several companies:
    • each company's own, set on its binding (the default);
    • one for the whole cart (checkout.combined_minimum, in the cart's currency);
    • none.
  • Partial checkout (checkout.partial_allowed): whether a buyer may place the companies that are ready and keep the rest in the cart. A company under its minimum, or with a line it cannot take, then stays in the cart while the others are ordered. Off (the default), every company's order is placed together or none is.

Every setting says whether it is the default. Use default puts it back.

A shopping assistant for your buyers​

Shopping assistant (assistant.enabled, off by default) puts an Ask button on every page for a buyer who is signed in. They ask in their own words — "do you have 10 mm hex bolts, and what would 50 cost me?", "where is my last order?" — and it answers from your catalogue's own search, that buyer's prices and stock, their cart and their orders. It never sees another buyer's prices or orders, or anything a buyer could not open themselves.

It suggests carts, it never fills them: a suggestion shows each product with the buyer's price, and nothing is added until the buyer presses Add to cart. The cart then checks the lines as it checks any other.

  • It answers with the AI model of the company the storefront sells for. Connect one under Settings → AI models first; without one the buyer is told the assistant is not set up yet.
  • Its questions are counted against that company's AI usage like any other.
  • Questions a minute (rate_limit.assistant_per_minute, 10 by default) holds each buyer to a number of questions a minute.
  • The conversation stays in the buyer's browser tab. It is not saved on the server, and your staff cannot read it.

5. Make it live​

When the domain answers and the brand looks right, choose Change status and pick Live. Say why: the reason is kept. A live storefront needs a primary domain.

Later, Maintenance shows buyers a holding page while you work, and Archived takes the storefront off the web. Both keep everything.

Next​

Connect the storefront server.