Skip to main content

Commerce: storefronts and buyers

This page covers the Commerce app, which has two screens:

  • Storefronts (/commerce/storefronts, one at /commerce/storefronts/{id})
  • Buyers (/commerce/buyers, one at /commerce/buyers/{id})

Both work on your account's commerce group. That group is shared by every company in the account that sells through the same storefronts, so the same storefronts and buyers appear whichever of those companies you are signed in to. Until ORLLET support sets the group up, both screens say Commerce is not set up.

Permissions​

PermissionLets a personDefault
commerce.readSee storefronts and buyers, and open the appAdministrator
commerce.storefront_manageCreate storefronts; add, remove or make primary their domains; change the theme and status; issue and revoke storefront server keysAdministrator
commerce.buyer_manageDisable and enable buyersAdministrator
commerce.credential_importImport sign-ins from a previous web shopAdministrator

No other role gets these by default. A storefront is the company's public face, so grant them to whoever runs your web shop, in Settings → Roles.

The Commerce overview (commerce admin v2, C4)​

Commerce opens on its Overview: how the online store is doing, what is waiting on someone, and what is broken. Choose a storefront (or All storefronts; the choice is remembered for you on this device, and a business with one storefront never sees the choice) and Today, 7 days or 30 days.

  • The numbers: web sales and the average order (one line per currency), orders, active and new buyers, conversion (once the storefront records visits), carts started and carts checked out. Each says how it changed on the period before, in words, and has a small trend of the period; hover a point for its value.
  • Needs you: orders waiting for approval, account applications, licences to check or expiring in 30 days, address requests, customer matches, payments that failed and orders over a credit limit, each with its count and Open.
  • Store health: products with no picture or no price, demo or test products on the store, broken links, ended promotions still shown, colour pairs that fail AA, and changes not published, each with Fix. Broken links, ended promotions and colours open the site builder (its Check the site); changes not published open the storefront and its publish bar.
  • A line whose screen is still to come (account applications, licences, products on the web) says so instead of opening anything.
  • Getting started, for one storefront, lists what it still needs (a domain, its look, publishing what is waiting, no demo products, a picture and a price for every product, live) and folds away once all is done.
  • Real-user speed, for one storefront: how fast its pages are for the buyers who use them, measured in their own browsers, over the last 30 days. First Loading, Responsiveness and Layout stability (LCP, INP and CLS), each what three in four buyers got or better, rated Good, Needs improvement or Poor by Google's thresholds, with the visits behind it; then the same and the first paint and server response for each kind of page (home, collections, products, search, other). Only counts are kept, never who visited or which page. Before any visit has been counted it says Not counted yet; with All storefronts it asks you to choose one.

A storefront's own Overview tab shows the same for that storefront.

Orders (commerce admin v2, C5)​

Commerce → Orders lists the storefronts' web orders across every company of the group, so a checkout to two companies is found in one place.

  • Needs approval comes first, then the newest. Tabs: Needs approval, Credit hold, Payment failed, Open, Fulfilled, Cancelled and All, each with its count; choose a storefront and search by order number, customer or buyer.
  • Credit hold fills only from orders held for credit after they were placed. Checkout refuses a cart that would take the business over its credit limit, so no order arrives over it.
  • One checkout to several companies is one group: its orders together under "One checkout, 2 orders", with their total (one per currency).
  • Each row says why it waits (the hold's reason, the card's refusal). Approve is offered only on an order that waits and that you may approve; it is the same approval as on the order's page, with an optional note. The order number opens the order.
  • On a phone, each order is a card and the tabs are a choice at the top.
  • The Overview's "Orders waiting for approval", "Payments that failed" and "Orders over a credit limit" open Orders on the matching tab.

Web orders are in Sales → Orders too, with their web badge.

Storefronts​

A storefront's page has six tabs, in the order people work (commerce admin v2, C1):

TabWhat is in it
Overviewits status and what buyers see now, its address, the companies that sell through it, and one click to each tab
Look and pagesthe Brand card, a large Open the site builder card, then Appearance and Brand and collection pages
CatalogueMenu, Trending products, Filters, Search, Collection rules, Badges and the ticker, Sale price lists, Pinned keywords, Special offers (where they are now: Commerce → Promotions and offers) and Product lists
SellingOrders and checkout (minimum orders and the selling settings), Companies, Who sells what
Complianceage check, licence check, PACT Act reports, ship-to restrictions
AdvancedSecurity and limits, Domains, Moved pages, Server keys

The header has Open storefront (the storefront's primary address, in a new tab), Site builder, and ⋯ with Change status and Buyers. There is no Sections tab: the site builder is the one page editor. Trending pins are edited only under Catalogue → Trending products.

The publish bar. While anything is in draft (the theme, a page, a custom page, a brand or category page), a bar under the header says how many changes are not published and names them: "4 changes not published: Theme, Home (signed in), Delivery days and 1 more".

  • Review lists each draft with who changed it and when. It also says whether the draft goes live for the first time, whether someone published that part since the draft was started (publishing replaces it), and when it is scheduled. Each has Preview (the real storefront with every draft, on that page) and Open (the screen it is edited on: Look and pages for the theme and the brand and category pages, the site builder for pages).

  • Preview on the bar opens the storefront's home page with every draft.

  • Publish all (needs commerce.storefront_manage) asks first, naming what goes live. It publishes every draft as it was when the bar read it, all of them or none. If one is refused (a colour pair that fails AA, a page saved again since you looked), nothing goes live and the bar names each draft and why; a draft saved or published since is read again first.

  • Schedule publishes the drafts as they are now at a time you choose. A brand or category page cannot be scheduled: under Review, untick it and schedule the rest.

  • Domains. A hostname reaches exactly one storefront, and a hostname in use anywhere is refused. The first domain becomes primary. The primary is removed last. A live storefront keeps at least one domain.

  • Theme. This is the storefront's own theme.json:

    • colours for light and dark (fourteen roles each);
    • the body and heading fonts;
    • the corner radius;
    • an https logo address.

    It is checked when saved. A theme that is missing or invalid is not a broken page: the storefront draws its default look.

  • Status.

    • Draft: not reachable.
    • Live: needs a primary domain.
    • Maintenance: shows a holding page.
    • Archived: not reachable.

    Each change (under ⋯ → Change status) asks for a reason, which is kept in the audit log, and says what buyers will see before it goes: a holding page for maintenance, nothing for a draft or an archived storefront.

  • Settings. Who sees prices, whether new web orders wait for approval, sign-up mode and the compliance switches, on the Catalogue, Selling, Compliance and Advanced tabs. Seeing them needs commerce.settings_read; changing one needs commerce.settings_manage.

    The Compliance tab, shown where the group sells regulated products:

    SettingDefaultWhat it does
    compliance.age_gate — Age checkOffOff: nobody is asked. Any other choice: a visitor who is not signed in is asked "Are you 21 or older?" before any catalogue page (home, categories, products, search, brands) shows. Yes is remembered on that browser for a year and takes them to the page they asked for; No shows a page saying the store is not shown to them, until they close the browser. Signing in, applying for an account and the question itself are always reachable, and a signed-in buyer is never asked. Ask for the chosen categories and Verify their identity ask the same question of the whole store for now: there is no per-category list or identity check yet, and asking everybody is the safe side. Recommended: on (Ask visitors to confirm their age) for a store selling tobacco or nicotine. Switching it off asks you first.
    compliance.licence_check — Licence checkOn for regulated productsThe buyer's licence is checked on every line whose legal class needs one, on every channel, whatever this says: Off does not let a buyer order a regulated product without a licence. The legal class, and the state's rule pack where it says otherwise (a little cigar into Pennsylvania needs a cigarette licence), decide which licence. Kept so a stored value still reads; it waives nothing today.
    compliance.pact — PACT Act reportsFile for the categories that need themFiles PACT Act reports for storefront sales of the categories that need them.
    compliance.ship_to_restrictions — Ship-to restrictionsOn for regulated productsRefuses regulated lines a state's product directory does not allow into the delivery state. Off switches that check off for the storefront only.

Products on the web (commerce admin v2, C5)​

Commerce → Products on the web lists every product a storefront can show, so what is missing or hidden is found without opening each product. Choose the storefront at the top (the first one until you do) and search by name or SKU.

  • Each product shows its picture, price (Price on request when it has none), stock, and On the store: Shown when a buyer sees it now, or Hidden with every reason (not published, no price, out of stock and hidden when out of stock, blocked by a rule, its company does not sell on this storefront, a demo product). The storefront answers this itself, as it lists products to a buyer, so the screen never guesses. A product published a moment ago shows Hidden with "Being added" until the storefront's search catches up, within minutes; Rebuild search on the storefront's Catalogue → Search does it at once.
  • The picture is the one the storefront shows, read from the storefront's own address; a storefront with no address yet shows the placeholder.
  • To fix says what a manager should look at, shown or not: No picture, No price, Demo product.
  • The views All, Shown, Hidden, No picture, No price, Out of stock and Demo each have their count. The Overview's "Products with no picture", "Products with no price" and "Demo or test products on the store" open the matching view.
  • With commerce.storefront_manage, tick products to act on them together:
    • Publish and Hide set the product's own web setting, so the confirm says it applies on every storefront of its company, not only this one.
    • Use a variant's picture gives a product with no picture of its own its first variant's first picture.
    • Add to a collection explains that collections are rules (category, brand, attribute), so a product joins one by its category or tags, and opens the storefront, where the rules are under Catalogue → Collection rules.
    • Each product is changed on its own. Anything not changed is listed with its reason and stays ticked; the rest are done.
  • On a phone, each product is a card with its own tick box, the views are a choice at the top, and the bar with the actions stays in reach as you scroll.

Promotions and offers (commerce admin v2, C6)​

Commerce → Promotions and offers holds a storefront's promotions and its Special offers, so a marketer finds them without opening the site builder or the storefront record.

  • One storefront at a time: the first until you choose another at the top.
  • Promotions is the site builder's own list: each promotion with its dates, who it is for and what it links to, marked Upcoming, Live, Ended or Archived, with Add a promotion. A page section tied to a promotion shows only while it runs, and only to its buyers. Editing needs commerce.storefront_manage; without it the list is read-only.
  • A promotion's badge: Badge on the products it links to (up to 24 characters) puts those words on the cards of the products the promotion links to (a product, a category, a brand, a collection or a deal) while it runs, only for its buyers. The list shows it as Badge: …. A promotion that links to a page, or to nothing, can't have one. A card shows one promotion badge at most, after Sale and New: the one that ends first.
  • Special offers is the storefront's Special offers tab, moved here from the record's Catalogue (see The Special offers tab). It needs commerce.settings_read to see and commerce.settings_manage to change; without commerce.settings_read the tab isn't shown. The record's Catalogue → Special offers now says where they are, with a link.
  • Without a storefront, the page says so and links to Storefronts.

Reports (commerce admin v2, C6)​

Commerce → Reports answers how the storefronts are doing over a period: web sales, conversion, search and abandoned carts. It needs commerce.read, and a company's orders, customers and order numbers count only where you may read that company's sales orders.

  • Which storefront and when at the top: every storefront or one, and the last 7, 30 or 90 days, this month, last month or two dates, in the storefront's time zone. The choice stays in the page's address, so a report can be shared as a link. Search keeps 90 days of terms, so a longer period is refused before anything is read.
  • Each total says how it compares with the same length of time just before. Money shows one line per currency; a total in more than one currency, or one that was nothing before, says Nothing to compare it with rather than a percentage, and nothing sold reads None yet.
  • Web sales: sales, orders, the average order and the buyers who ordered (and how many for the first time), the trend by day, week or month, then by company, by storefront, the top products and the top customers. A checkout across two companies counts in each, so the companies' orders can add up to more than the total.
  • Conversion: carts started, checkouts started and orders placed, each as a share of the step before. A step the storefront does not count yet (visits, product views) says Not counted yet, never 0, and the share of visits that order waits for it.
  • Search: how many searches and different terms, the most searched terms, with a term's redirect or synonym, and the terms that found nothing once those are counted, with a link to the storefront's Search curation to add a synonym or a redirect (choose a storefront first).
  • Abandoned carts: carts with something in them nobody changed for a day (a saved cart is not one), what was left in them, and which buyers ordered within 7 days; each cart names its buyer and their account, and Show more pages the list.
  • The assistant answers the same four reports (commerce.report_*).

Which products a storefront sells​

A storefront shows and sells only items marked Ecommerce (Item.is_ecommerce, Published to an online store), and only those that are also active, sold and not a master product. One rule governs search, a product's page, lookup by code, the cart, order lists, reorder and checkout. An unpublished item is absent from search. Lookup refuses it as product_not_found, and a cart that holds it is refused at checkout.

Upgrading an existing installation. Before this rule, every sellable item was on the storefront, and the flag was off by default. After the upgrade, a storefront whose items were never marked shows nothing. Publish them before buyers notice:

  1. Run uv run erp commerce publish-items --entity <company>. This is the dry run: it reports how many items would be published, how many already are, and any the item rules refuse, with the reason.
  2. Add --exclude keep-off.csv (SKUs, one per line or a sku column) for items that must stay off the web.
  3. Run it again with --commit. It never unpublishes.
  4. Rebuild search for every storefront (required). The index was built under the old rule and still holds every unpublished item. Search already leaves such an item out and deletes it from the index the first time it turns up, but until the rebuild, result counts and filters can still count it. Do this after step 3, and again after any later bulk change made without events, such as an exclude list applied by hand.

Users can publish without support: the Ecommerce box on an item, the On the storefront column of the item import file, or the variants grid. The search index follows each change shortly. Rebuild search brings it up to date at once.

Account applications (commerce admin v2, C5)​

With a storefront's sign-up set to Application, a business asks for an account from "Apply for an account": its details, contacts and addresses, the storefront's own questions, the agreements it ticks and its documents (licences and certificates). Commerce → Applications is where those requests are decided; the Overview's "Applications waiting" opens it on the waiting ones. The people the application settings name are told in the bell (and by email) when one arrives, when an applicant sends back what you asked for, and when it waits too long; the bell's row opens that application's review.

The list​

  • Waiting comes first, the oldest at the top, then More info needed (sent back to the applicant), Approved and Declined. Each tab has its count; choose a storefront and search by business, contact or email.
  • Each row shows the ship-to state, its documents ("1 of 3 verified"), the existing customer it may duplicate and why, the assigned rep and how long it has waited.
  • Review opens the application on its own page. The Overview's "Account applications waiting" opens the list.

Reviewing one​

On the left is what was sent: the business, contacts and addresses (the ship-to with Show on a map), the answers to the storefront's own questions, the agreements ticked with the signature, and each document as a card:

  • the file opens beside the card (a PDF or a picture; zoom and rotate; front and back one at a time), with nothing to download;
  • the number, state, issue and expiry dates as the applicant typed them, an expired date marked, and what the document becomes on approval (a customer licence, a tax exemption or a customer document);
  • Verify asks you to confirm the number and expiry against the file: what you confirm is what the customer's record keeps. Reject this document asks for a reason.

Below them, Possible duplicates link to the customers the business may already be.

On the right, the Approve panel is filled in from the storefront's approval defaults: a new customer (or a link to a duplicate), the company, customer number, type, price tier, payment terms, credit limit, tax status, sales rep, territory, route, delivery days, warehouse, how statements go, how many first orders are held for approval, the buyer's role and whether the welcome email goes now. Each value says where it came from ("From territory Illinois North"). Change any of them, then press Approve and create customer (or Approve and link). The button never greys out: when something stops approval (a required document not verified, a route to choose), pressing it lists what, in words. Once approved, the page shows the customer, its licences, its tax exemption and the invited buyer.

At the top:

  • Approve presses the panel's button.
  • Ask for more information: tick the items (rejected and missing documents are ticked for you) and add a note. The applicant is emailed a private link that opens only those items; the application waits in More info needed until they send it back, with what they changed marked.
  • Decline asks for a reason, which the applicant is emailed as written.

Deciding, and seeing the documents' files, needs commerce.applications_review, which only an administrator holds by default (managing buyers is not enough: a licence, a certificate or a photo ID is not every reader's). Without it the page shows the application, read-only, with no files.

Buyers​

Disabling stops a buyer signing in and keeps everything else. Enabling returns them to active if they have signed in before, or to invited if they never have. Both need a reason, which is kept in the audit log.

Inviting and resetting​

commerce.buyer_manage covers both.

  • Invite creates an invited buyer with a membership on the chosen customer and role, and emails a magic link. The link opens the chosen live storefront, or the first live one.
  • Reset sign-in ends every session, clears a lockout, and emails a password-reset link. A disabled buyer must be enabled first.
  • Both are recorded in the audit log, the reset with its reason.
  • When no email can go, the result says why:
    • no_live_storefront;
    • no_selling_company;
    • not_sent, which means no email provider is connected, or it refused.

Account application settings (Selling)​

How "Apply for an account" works is a storefront's own choice, every part of it a setting with defaults. A storefront's Selling tab has Account applications, with six cards and the form previewed beside them as an applicant will see it, on a desktop or a phone, following each change.

  • The form: rename and reorder the steps (Business, Contact, Addresses, Documents, About your store, Agreements); make each field shown, required or hidden, with its own label and help text (the legal name, contact name and email are always required, and so is the ship-to); add your own questions (short or long text, a number, a date, choose one or any, yes or no, a file; a choice question needs at least two choices, each entered with Enter), each optionally copied to the customer's custom field of that name; the agreements the applicant ticks, each with a link to read; whether to ask for a typed signature; and what the applicant sees after sending ({contact} and {storefront} are filled in).
  • Documents: the licences and certificates you ask for, each required always, optional, only for some ship-to states, or only when the applicant ticks something ("We sell vape"); what it asks for (number, issuing state, issue and expiry dates); the files accepted, their size and how many; and what it becomes on approval: a customer licence of a type, a tax exemption with its reason and states (the ship-to state when none are given, and whether a multi-state certificate is accepted), or a customer document (restricted, for a photo ID). The applicant cannot send the form until every required document is there; a past expiry is refused and one inside the warning window (30 days) is flagged.
  • Approval defaults: what fills the Approve panel: the company (the storefront's default when left empty), customer type, price tier, payment terms (chosen from your terms), credit limit, warehouse (chosen from Inventory's sites, or typed when Inventory is off), minimum order, first orders held; tax status (exempt with a verified resale certificate, or always taxable); the sales rep by territory, the territory and route by ship-to ZIP, each also fixed or the reviewer's pick; delivery days, how statements and invoices go, the applicant's role, the welcome email, and who numbers the customer. Rules ("Type of business = gas_station, then Price tier = B") are checked in order and the first that matches wins.
  • Review rules: verify required documents before approving; block approval when a required licence expires within some days; a second approver over a credit limit; which signals warn of a duplicate.
  • Who is told: people, roles, the rep for the ship-to territory or an address; in ORLLET or by email; the daily reminder after some hours, and a manager told after some days (0: never).
  • Emails: the four emails to the applicant (Received, More information needed, Approved, Declined), each with its subject and message, a preview with sample words in its placeholders, and Send me a test, which sends the email as it stands, saved or not, to you only.

Changes wait on the save bar. Save draft saves them as the storefront's applications draft, which the publish bar publishes with everything else. Anything wrong is listed and nothing is saved. Changing these needs commerce.settings_manage; reading them, commerce.settings_read.

Storefront settings​

The settings are generated from the storefront settings registry and shown on the tab they belong to: Catalogue (product lists), Selling, Compliance and Advanced. Every setting is one row:

  • its name and one line of plain words;
  • the control itself: a switch, a choice of options in words (never codes such as approved_only), a number with its unit, or a time;
  • on the right, a Default chip while untouched, or Changed by who and when, with Reset to default.

A change waits in the save bar at the top of the tab, which counts the settings changed on every tab; Save changes saves them in turn and Discard drops them. Leaving the storefront with changes waiting asks first. Selling, Compliance and Advanced have a Search settings box.

Changes that open the store up or switch a check off ask to confirm and say what changes for buyers: the age check off, the licence check off, ship-to restrictions off, PACT Act reports off, prices shown to everyone, and carts open to everyone. A reset whose default is one of those asks too. Compliance settings appear only for a group that sells regulated goods.

The sections with an editor of their own (minimum orders, collection rules, badges, sale price lists, pinned keywords, filters, special offers) save at once, as before.

Minimum orders and checkout​

At the top of Selling → Orders and checkout, two choices for a storefront that sells for several companies:

  • Minimum order:
    • Per company (the default): each company's own minimum, set under Companies and listed here. A buyer under one company's minimum is asked to add more from that company.
    • Combined: one minimum for the whole cart, whichever companies it is from, compared with the cart's subtotal. The amount is in the cart's currency, so it is typed without one; leave it empty for no minimum. The companies' own minimums are not applied, except for a cart in more than one currency, which is held to each company's own minimum.
    • None: an order of any size can be placed. The companies' minimums are kept for later but not applied.
  • Partial checkout: off by default, so checkout waits until every company in the cart can be placed. On, a company the cart shows blocked (under its minimum, or a line it cannot sell the buyer) is held back: its lines stay in the cart and the other companies are placed. It covers only what checkout already shows: if placing fails for one company, nothing is placed. Under Combined, a cart under the minimum still waits as a whole.

Changing them needs commerce.settings_manage, and each change is audited like every setting.

Collection rules​

Catalogue → Collection rules are the named sets of products a home page's collection tabs can show (storefront v3), such as Samplers or Limited editions. A tab whose products come from a collection rule names one by its key.

  • Each rule has a name buyers see (up to 30 characters) and a key. The key starts with a lower-case letter and has letters, digits and _; it cannot be changed once the rule is made.
  • What it picks: products in any of its collections, from any of its brands, or with the attribute values it lists (one per line, as attribute: value, value). A rule that picks nothing is marked: its tab is not shown on the storefront until it picks something. A new storefront has Samplers, which picks nothing until you set it.
  • Up to 12 rules. Remove one you no longer use.

Changing them needs commerce.settings_manage, and each change is audited like every setting.

The Special offers tab​

Commerce → Promotions and offers → Special offers, the Special offers tab (storefront v3.1) is a tab on the right edge of every storefront page that opens a short list of offers. It is off until you turn on Show the Special offers tab.

  • Up to 8 offers, shown in the order listed; move them up and down.
  • Each offer has a title (up to 60 characters), a line of text (up to 200), a link (the deals, a collection, a brand or any page), an optional end date and time, and who sees it: everyone, signed-in buyers or visitors not signed in.
  • An offer past its end is marked Ended; the storefront stops showing it.
  • Tie to a promotion: an offer tied to one of the storefront's promotions shows while the promotion runs, and only to its buyers (customer groups and businesses too), so the form hides its own end and audience and says the promotion's instead. Clear the tie and they come back as they were. Leave its link empty and it takes the promotion's. Its row says From … and the promotion's dates. If the promotion is archived, the offer stops showing and says Promotion no longer listed.
  • There are no coupon codes.

Changing them needs commerce.settings_manage.

Badges and the ticker​

Catalogue → Badges and the ticker (storefront v3.1) chooses the merchandising tags that show on product cards. Sale, New and Sold out show by themselves.

  • Tags shown as badges: up to 6 of your company's active tags, by name, in the order they show.
  • The ticker: one tag whose name runs across the picture of every product carrying it, such as Selling fast. Clear it for no ticker.
  • A tag you've since retired still shows by its code, so you can take it out. Other tags are never shown to buyers.

Changing them needs commerce.settings_manage.

Names in capitals​

Imports often leave category and brand names in capitals (DISPOSABLE VAPES). With Title case for names in capitals on (catalogue.title_case_names, on unless you change it), the storefront shows them as Disposable Vapes. Only how they are shown changes: the names you keep, search and the storefront's addresses stay as they are. Turn it off to show names exactly as stored.

Pinned search keywords​

Catalogue → Pinned keywords, the Pinned search keywords (storefront v3.1) chooses up to eight terms that the storefront's search panel shows first under Most searched keywords, in the order listed, before the terms buyers searched for most in the last 30 days.

  • Type a term and add it; move terms up and down, or take one out. Each change saves the list.
  • Spaces are tidied (none at either end, one between words), and a term already pinned, in any case, is pinned once.
  • A term that looks like an email address or a phone number isn't pinned, and the screen says why. Product codes can be pinned.

Changing them needs commerce.settings_manage.

Filters in the product list​

Catalogue → Filters, the Filters in the product list (storefront v3.1) chooses which filters buyers see beside a list of products, and in what order. The filters are Availability, Price, Brand, Category, Flavour, Strength, Size or pack, Other attributes, Your own filters, Company, New and On sale.

  • Show or hide a filter with its switch. A hidden filter keeps its place, so switching it back on puts it where it was.
  • Reorder by dragging a filter, or with its arrows. Use the default order puts back the list above, all shown.
  • Other attributes stands for every product attribute not named in the list (such as Ring gauge), most used first. Your own filters stands for your products' custom fields marked as a storefront filter. A named one, such as Flavour, can be moved or hidden on its own.
  • Some filters show only when they have something to offer, whatever the switch says:
    • Company when the storefront sells for two or more companies;
    • New while products are marked new for more than 0 days (catalogue.new_days);
    • On sale for signed-in buyers.
  • A filter the storefront no longer offers is kept in the list, in case it comes back, and the screen says so.

Each change saves the whole list at once. Changing it needs commerce.settings_manage.

Sale price lists​

Catalogue → Sale price lists (storefront v3.1) chooses which of your price lists count as sales. A product shows as on sale (the list price struck through and a Sale badge) when the buyer pays less than the list price because of a promotion, or because the price came from one of these lists. A lower price from an account's contract list never shows as a sale.

  • Pick up to 12 of your company's active price lists, by name. Each is saved by its code.
  • A list you've since retired still shows by its code, so you can take it out.

Changing them needs commerce.settings_manage.

Names in title case​

Title case names (catalogue.title_case_names, storefront v3.1), a yes/no among the catalogue settings, is on unless you turn it off. While it is on, a category or brand name kept all in capitals, as many imports leave them ("PREMIUM CIGARS"), is shown in title case on the storefront ("Premium Cigars"). Only the display changes: the names, their links and search stay as they are. Changing it needs commerce.settings_manage.

Storefront server keys​

Your storefront website runs on its own server, and every buyer's request reaches ORLLET through it. A server key proves a request came from that server, so ORLLET can believe the buyer's address the server passes on and limit each buyer on their own. Without a key, ORLLET sees only the server's address, and one busy afternoon could slow every buyer at once.

Keys are managed on any storefront's page, in the Server keys section (Commerce → Storefronts → a storefront → Server keys). It needs commerce.storefront_manage, and so does seeing the list. The section lists every key with its name, the start of the key (orletsf.…Ab12Cd), when it was created, when a server last used it, and whether it is live or revoked (and when, and why).

  • Issue a key with a name such as Production storefront. The key is shown once, with a Copy button. Put it in the storefront server's settings straight away. Nobody can read it again, including you: closing the dialog forgets it, and the browser never stores it. (The API route is POST /api/v1/commerce/storefront-server-keys.)
  • Rotate a live key. The section issues a new key named after the old one, shows it once, and asks you to confirm it is set on the server. Only then does it revoke the old key, with the reason Rotated: replaced by …. If you choose Not yet: keep both, both keys stay live until you revoke the old one yourself.
  • Revoke a key, saying why. A revoked key stops working at once, and the history keeps who revoked it and why.
  • One key per server is enough; a key works for every storefront in your group.
  • A key never goes in a browser, a page, or a support ticket. If one may have leaked, revoke it.

Requests that come without a key are still served; they are just limited by the address they come from.

Importing sign-ins​

Commerce → Buyers → Import sign-ins (/commerce/buyers/import) needs commerce.credential_import.

  • The file. It is CSV (with a header) or a JSON list, with email, password_hash, hash_algorithm and customer_code. The limits are 10 MB and 50,000 rows. It is read in memory and never stored: not as an attachment, not as an import run. Nothing in it is logged. The audit log records how many rows were read, imported and skipped.

  • Password formats are the storefront's legacy verifiers:

    • pbkdf2_sha256 (Django);
    • phpass (WordPress and similar);
    • bcrypt ($2a$, $2b$, and PHP's $2y$);
    • salted SHA-1, SHA-256 and SHA-512, salt before or after.

    An unknown format, or a value not in its format, skips the row. A format known but not runnable here imports the buyer without a password.

  • Replace password hash for existing buyers is off by default. Ticked, it puts the file's hash on a buyer already here, and nothing else about them changes. A hash this installation cannot verify never replaces a working one. The audit counts record that the option was on and how many hashes it replaced.

  • What is skipped:

    • an invalid email;
    • an email that appears twice in the file;
    • an email that is already a buyer (an import never overwrites a credential);
    • a customer code that matches no customer.
  • What is created:

    • an invited buyer;
    • their membership, as buyer, on the customer the code names;
    • the old hash, which is verified once at the first sign-in and then replaced.

Viewing the storefront as a customer​

View storefront as this customer needs commerce.view_as, which Administrator, Manager and Sales hold. It is its own permission: a sales rep can have it without managing buyers, and managing buyers does not give it. It opens a 30-minute session on the storefront.

  • The session cannot edit the account's profile, addresses or sign-in.
  • It can place orders. An order placed in it records the staff member as assisted_by_user_id on the web order, makes them the order's salesperson (for commissions and sales by rep), and audits the change as sales.web_order_rep_assisted, with the reason.
  • No setting changes this. Without the permission, the button is not shown.
  • Whose permission: commerce.view_as must come from a role in the company the storefront sells for, not only in the company the staff member is signed in to (view_as_not_permitted otherwise). The checkout runs as that company, so its orders and its customers' data are that company's.
  • Checked all the way through: the link works only on the storefront it was opened for. On every request of the session, the staff member must still be active, still hold a role in the selling company, and still hold commerce.view_as. If any of that stops, the session ends at once and an unused link stops working (assisted_access_revoked); it does not wait out its 30 minutes.

History shows the commerce audit rows for the buyer: event, who, when, the reason, and which fields changed, never their values. Reading it needs commerce.read. Emails is described below, under A buyer's emails. Resend set-password link needs commerce.buyer_manage, and is offered only to a buyer who has never set a password.

A buyer's emails​

A buyer's page has an Emails tab. It lists the storefront emails sent to them: each order received, approved, shipped or invoiced, and each item back in stock. Sign-in, reset and invitation emails are not listed.

Each shows whether it went and, when it did not, why:

  • the email is turned off for the storefront;
  • the buyer is not active;
  • they have no live storefront, or the storefront has no selling company;
  • no email provider is set up, or the provider refused it;
  • the site only logs emails (a test site);
  • the order receipt already said it.

It never shows the address or the words. Reading it needs commerce.read, and the assistant can answer the same question.

Documents buyers can download​

From their account on the storefront, a buyer can download their customer's:

  • invoices;
  • credit notes;
  • statement.

Each is printed exactly as ORLLET prints it: your template, layout, brand kit and the customer's language. A document you have already sent comes back as the copy that was sent. Only posted invoices and credit notes are offered, never a draft, a cancelled document or a proforma. A buyer downloading a document never marks it as sent and never stores a copy. Change how these documents look under Settings → Printing, as for ORLLET's own prints.

The buyer's account pages​

A signed-in buyer sees their own customer's account with your company, and nothing of any other customer's:

  • Profile: their name, email and phone, and the customer's name and account number. Read-only.
  • Addresses: the customer's billing addresses, each active ship-to's default delivery address, and the customer's own delivery addresses. Read-only; edit them on the customer as usual.
  • Licences: each licence on the customer, with its number, state and expiry date, shown as valid, expiring or expired. A suspended or revoked licence shows as expired. How many days ahead a licence counts as expiring is the setting Licence expiring warning (days) (compliance.licence_expiring_days, default 30), under Settings for the B2B Ecommerce app. It does not change ORLLET's own expiry lists.

Address change requests​

A buyer who needs an address changed, or a new one added, sends a request from the Addresses page. They get a reference (ACR-…), and the request waits for your staff. Staff with commerce.read see open requests, and those with commerce.buyer_manage mark each one resolved with a note saying what was done or why not. A staff member viewing the storefront as a customer cannot send one. The assistant can list and resolve requests too, and it asks before resolving.

Storefront appearance​

A storefront's whole look is one theme: the shop's own colours (buttons, forms, cards, the page), a marketing palette of named swatches, the band colour of each kind of page, the header, top bar, cart button and badges, fonts, corner radius and density, logos for light and dark backgrounds, a favicon and a square mark, the navigation (top bar or left sidebar, which links show and in what order, the mega menu), and dark mode. Until you publish one, the storefront uses the built-in defaults.

You edit a draft; buyers keep seeing the published theme until you publish it, with an optional note saying what changed. Preview opens the real storefront showing your drafts: the link works once, within ten minutes, and the browser that opens it sees the drafts for 30 minutes. History lists every published version, who published it and their note; Revert copies one back into the draft, to preview before you publish it again.

Every pair of colours the storefront draws is checked when you save and again when you publish: 4.5:1 for text, links in the primary colour included, and 3:1 for the focus ring and for borders against the background and cards (WCAG AA). A theme with a pair below that is refused, with the pair named, its contrast and the contrast it needs. Every colour is written as a hex code (#2e3192), so that it can be checked.

Logos, fonts and images are uploaded here. Images are PNG, JPEG, WebP or SVG up to 5 MB; fonts are WOFF2 or WOFF up to 2 MB, and their family is read from the font. A file is checked for what it really is, whatever its name. An SVG with a script or a link in it is refused. Each image's main colour is worked out when it is uploaded, ignoring its white or see-through background. A storefront uses only its own files.

The admin shows the storefront's pictures (logos, section pictures and banners) from the storefront's own domain, as buyers see them. A storefront with no domain yet shows a plain grey "no picture" box in their place until it has one; the files are kept all the same.

Reading the theme needs commerce.read. Saving, publishing, reverting, discarding, uploading and opening a preview need commerce.storefront_manage. The assistant can read the theme, change the draft, publish it and discard it, and asks before each change. It never opens a preview link or uploads a file.

A brand's logo and banner: the brand record, or the storefront's own​

A brand's look on a storefront (its band, accent, description, logo, banner and tile) is set per storefront. Its logo and banner need not be: where the storefront's published look for a brand has no logo, the storefront shows the logo chosen on the brand's own page in the back office (Products → Brands, the brand, Logo & images); where it has no banner, the brand's banner, with the look's alt text and link if it gave them. Whatever the look sets wins. So upload a logo once, on the brand, and every storefront shows it; give a storefront its own only where it should differ.

There is no setting for this: it is how a brand's look is read. A brand sold by several companies on one storefront shows the first company's logo that has one, in binding order. The pictures are served by the storefront like product pictures, from /media/brands/<brand id>/logo and /banner, with the same resized copies, cache rules and picture budget, and only for a brand that is switched on. A brand's logos can be brought over from SalesGent in bulk (see the SalesGent migration guide, step 5c).

Weekly deals sign-ups (Storefront v3)​

The storefront's footer can take email addresses for its weekly deals. A visitor or buyer types an address and ticks a box to agree; the storefront keeps the address with the wording they agreed to and when. An address already on the list is not added twice, and every deals email carries a link to unsubscribe.

  • Where the list is: Commerce → Promotions and offers → Deals sign-ups, one storefront at a time. Still on the list shows who gets the email, Left the list who unsubscribed and when. Each address shows when it agreed, where (the storefront footer) and the exact wording it agreed to. Download as CSV saves the list shown (email, when it agreed, the wording, where, when it left) to send the email from.
  • Who can see the list: people with Manage deals sign-ups (commerce.marketing_manage), administrators by default. Without it the tab isn't shown.
  • Switching it off: the storefront setting Deals sign-up (marketing.deals_signup). Off, the footer's form is hidden and sign-ups are refused.
  • Personal data: addresses are never written to logs or the audit trail, and only people with the permission see them.

The site builder​

Site builder, at the top of a storefront's page, edits the storefront's pages in one place. It is the one editor for the storefront's pages and sections, as a draft, beside the live storefront (the Sections tab is gone; Look and pages has a card that opens the builder).

  • Pick a page at the top left: either home, the category, brand and all-brands pages, the sign-in page, the shop's own pages (below), or Every page (the announcement bar and the site footer).

  • The left pane lists the page's sections in order. Drag a section by its handle, or move it with the arrows. The eye hides or shows it, the copy button adds a copy after it, and the bin removes it. A section a page has only once (the announcement bar, the site footer) can't be copied. Add section opens a gallery of the sections this page takes, by kind: banners and promotions, products, collections, brands, trust and value, account and site-wide. Each one has a small picture of how it is laid out, in grey and brown shapes rather than your own colours and words. The new section goes after the one selected.

  • The centre is the storefront with your draft, at 390 (phone), 768 (tablet), 1280 (laptop), 1440 (desktop) or 1920 (wide). It redraws after each save. Open in a new tab opens the same preview there. Once the storefront supports it, a click on a section in the preview selects it.

  • The right pane has the selected section's settings: who sees it, then its words, pictures, colours and links. A product chosen for a section, such as a hotspot's, shows by its name and SKU. It is marked when the product is no longer on the storefront (unpublished, inactive or deleted) or no longer held by any company the storefront sells for. If its name can't be read just then, the field says so, with Try again.

  • Saving: a change saves as a draft a moment after you make it, unless something on the page needs fixing first (it is marked). The tag beside the page says Saving…, Draft saved, Unsaved changes or Fix the marked fields to save. Undo and Redo (Ctrl+Z and Ctrl+Shift+Z, outside a text box) step through this visit's changes.

  • Publish lists what changes against the live page: each section added, removed, moved, shown, hidden or changed. It takes an optional note for the version history. Discard draft goes back to what is live.

  • Versions lists the published versions. Restore into the draft copies one into the draft to check and publish again, and Undo goes back to the draft you had.

  • Templates replace the page's sections, after asking: Hyper home and Sarva v3 on both homes and every page, and Holiday, New brand launch and Clearance on the two homes. Each is a draft with placeholder words in brackets ([Brand], [date]) to replace, and only the sections the page takes.

    • Placeholder pictures. A picture the template leaves empty (a slide, a hero, a card) gets a plain grey placeholder of its shape: wide, card or square. They are added to the storefront's pictures once, named template-placeholder-wide.webp, -card and -square, and every later template reuses them, so applying templates again adds nothing. If they can't be added, the template still goes in and says which pictures are missing. Replace each in the section's settings (Replace under the picture).
    • Before you publish, the dialog says how many words in brackets and placeholder pictures the page still has. You can still publish; nothing is blocked.
  • The shop's own pages. Under Shop pages in the page list: Product page, Search results, Search with no results, Cart and Cart drawer. Each has its own draft, versions, schedule and preview, as the other pages do. The shop's own content (the product, the results, the cart's lines and totals, the order button) is not a section and never moves; your sections go beside it.

    PageWhere its sections showSections it takes
    Product pageon every product page, full width below the product's details and Often ordered withbanners, a banner pair, text, a trust strip, a product row, a logo strip, value points
    Search resultsabove the results, when a search finds somea banner, text, a deal card, promo tiles
    Search with no resultsunder the nothing-found message, when a search finds nonetext, explore categories, category tiles, a product row, top brands
    Cartbelow the cart's lines (on a phone, after its totals and order button)text, a product row, a trust strip, a banner
    Cart drawerbelow the drawer's lines, above its buttonstext and a banner only
    • A product row on the product page can show products of the same brand or the same category as the product shown (Products from).
    • Who sees it, dates and promotions work as on any page: a cart banner can be for one customer group, or tied to a promotion.
    • The preview opens the page itself: the product page on one of the storefront's own products, search on a word of that product's name, search with no results on a word nothing matches, the cart, and the cart with its drawer open. The cart and the drawer show a preview cart of two products that is never a buyer's: it says This is a preview of the cart. Nothing in it is ordered., and nothing in it can be changed or ordered.
    • The regulated-goods notice stays in the site footer, and nothing on the cart or the drawer covers the order button.
  • Pages of your own. New page makes a custom page, such as About us, Delivery days or a campaign's landing page:

    • its address is /pages/<address>, in lower-case letters, digits and dashes, up to 40. It is made from the title and never changes. The storefront's own addresses (cart, search, deals and the like) can't be used;
    • a title, and optionally the title and description shown in search results;
    • it is then in the page list under Custom pages, built from the sections a custom page takes (rich text, banners, heroes, product rows and the like), with its own draft, versions and schedule;
    • Page details edits its title and search words, or archives it. An archived page's address tells buyers the page has gone, and its versions are kept.
  • Schedule publishes the page's draft, as it is when you schedule it, at a date and time from a minute to a year ahead. The tag beside the page then says when. Later edits to the draft are not part of it: cancel it under Versions and schedule again.

  • Share preview makes a link a colleague can open without signing in, to see the drafts. It lasts 1, 24 or 72 hours, or a week. It is shown once to copy; the list shows each live link until it expires, and Revoke stops one at once.

  • Banners and Promotions open the storefront's banner library and promotions (the promotions are also in Commerce → Promotions and offers, the same list):

    • each banner has its picture, its description (read out to buyers who can't see it), a focal point the crops keep, and an optional phone version. One placed in a page can't be deleted;
    • each promotion has dates, who it is for (everyone, signed-in buyers, chosen customer groups or chosen businesses) and what it links to. It is archived rather than deleted.
  • Show the assistant, above Settings in the right pane, opens ORLLET AI beside the settings, told which storefront, page and section you are on, so you can ask about the section while you edit it. On most screens it sits above the settings and scrolls within its panel; on a screen 1600 pixels wide or more it has a column of its own. Hide the assistant folds it away, and the builder remembers on this device whether you left it open. It needs assistant.ask, and the button isn't shown without it.

The header, mega menu and colours stay in Appearance, and the Special offers tab is in Commerce → Promotions and offers. Editing needs commerce.storefront_manage; without it the builder shows the pages, the preview and the versions.

Storefront pages and sections​

Six pages are built from sections: home (signed in), home (signed out), category pages, brand pages, all brands, and the sign-in page. Each page allows the sections the design draws on it, for example an account summary and buy again on the signed-in home, a hero and an application form on the signed-out home, and a collection header on category, brand and all-brands pages. Every page can have a footer.

The collection header (storefront v3.1) opens a category, brand or all-brands page with its title, and shows the description and the banner picture unless you turn either off. A page has one. A page saved before with the earlier style of header (the page band) keeps it, and the storefront draws it as a collection header; it is no longer offered for a new section. Edit that section and choose Switch to the collection header to change it in place: it keeps its place, who sees it and its description setting, and shows the banner picture. Nothing changes on the storefront until you save and publish.

A seventh, Every page, holds the site footer the storefront shows at the foot of every page: the logo, a short about text, address, phone, email and opening hours, up to four columns of links, the notice for regulated goods ("For licensed retailers only. Tobacco and nicotine products are for adults 21+" until you change it), social links and the legal line. It starts with Shop and Account columns of the storefront's own pages, and an empty Help column for your contact, shipping, returns and policy pages.

Both homes can have collection tabs: up to six tabs over one grid of products, each from one source:

  • Best sellers: the products on the most of the storefront's companies' orders in the last catalogue.best_sellers_days days (90 unless changed); the newest fill any gap.
  • New: products added within catalogue.new_days.
  • Deals: the buyer's price below the list price.
  • A collection rule: a named rule kept in the storefront setting catalogue.collection_rules. It picks products by category codes, brand names and attribute values, as a sell-from rule does. The default rule, Samplers, picks nothing until its categories, brands or attributes are set.
  • A category or a brand.

On a page you add, remove and reorder sections, hide one without deleting it, and choose who sees it: everyone, signed-in buyers, visitors, or buyers whose account is in chosen customer groups. A section's colour is a swatch from the theme's marketing palette or a pair of your own, checked for contrast like the theme's. Its images are files uploaded to the storefront.

A page is a draft until you publish it, and the preview link shows drafts of the theme and of every page together. Every published version is kept and can be restored. Before you publish a page for the first time, the storefront shows sensible sections with short wording to replace. When a page has problems, each one is listed against its section and field.

Reading pages needs commerce.read; changing, publishing and restoring them needs commerce.storefront_manage. The assistant can read a page, add, change, move and remove its sections in the draft, publish it and discard the draft, and asks before each change.

The site builder: banners, promotions, custom pages, schedules and shared previews​

  • Banners are kept in the storefront's banner library. Each has alt text, which is required, and a focal point that keeps the subject in view when the picture is cropped. It can also have a phone version, used on small screens; without one, the desktop picture is used. JPEG, PNG and WebP are taken. A file over 2 MB is made smaller when uploaded, and one over 20 MB is refused. A banner in use on a page, in a draft or in a scheduled publish can't be deleted. Changing a banner's alt text or focal point changes it everywhere at once, without publishing again.
  • Promotions have a name, a start and an end, who sees them (everyone, signed-in buyers, chosen customer groups, or chosen customers' businesses) and where they link. A section tied to a promotion shows only while the promotion runs, and only to its audience. Archiving a promotion hides its sections at once. Offers and badges keep their own dates for now.
  • Any section can have its own dates. It shows only between them, without publishing again. In the site builder, set them under Show between in the section's settings, and tie it to a promotion under Tie to a promotion. The end must be after the start. The section list shows the dates and the promotion.
  • Custom pages are pages of your own, such as About us or Shipping, at an address you choose (lower-case words joined by hyphens). Addresses the storefront uses itself, like cart and checkout, are refused. A custom page is built from text, banners, heroes, product rows and a footer, drafted, published, kept in versions and restored like any page. Buyers see it once it is published. Its address never changes; an archived page tells buyers it is gone. A link in any section, or a promotion's link, can point at a custom page: choose A page, then the page under Your pages. An archived page is no longer offered.
  • Scheduled publishing publishes a page's, a custom page's or the theme's draft at a time you choose, from a minute to a year ahead. What goes live is the draft as it was when you scheduled it; later edits wait for the next publish. If it no longer passes the checks when it is due (for example, its promotion was archived), it is marked failed with the reason, and nothing changes. A pending schedule can be cancelled. For the theme, use Schedule beside Publish in Appearance. Edits not yet saved are saved first. The pending schedule shows at the top of Appearance, with Cancel.
  • Shared preview links show the drafts to a colleague for 1 to 168 hours, as many times as they open the link, and optionally as the storefront will look at a future date and time. Revoke one and it stops working at once. To show a future date, choose it under Show the site as of before Make a link. The link then shows what is scheduled by then, sections within their dates and promotions running then. The list says which date each link shows.

Buyers are only ever shown what is published, within its dates and its audience. Every upload, change, publish, schedule, cancellation, restore, and preview link issued or revoked is recorded in the audit log. Reading needs commerce.read; everything else needs commerce.storefront_manage.

The assistant can help build the site, but only ever in drafts. It can list the pages, read a page, add, change, move or remove sections in a draft, add a banner from an attachment or a product's picture (with the alt text you give), create a promotion, suggest a palette from your logo or a mood as a theme draft, and check the site for colours that are hard to read, pictures without alt text, links to pages, categories or brands that are gone, banners without a phone version, sections tied to a promotion that has ended, banners over 2 MB, and product lines with no picture on any size. It never publishes: it can schedule a draft to be published, and asks you first. It uses your own permissions, and what it does is recorded as the assistant's on your behalf. It does not send preview links; open the preview from the page's editor.

In the site builder, ask the assistant to Check the site and its findings are listed under the chat. Each one says what is wrong and where: the page, and whether in the live version or the draft. Go to it opens that page and selects the section. A finding about the theme or the banner library has no section to go to. No picture is about the catalogue, not a page: it names each product line whose sizes all show a letter instead of a picture (the first 25, then how many more), and Show the products with no picture opens Products on the web for that storefront, filtered to them. Above the answer, It looked at says in words which storefront tools the assistant used.

Check the site, beside Versions at the top of the site builder, runs the same check without asking the assistant. It lists the findings in a panel of its own: Go to it closes the panel and selects the section, and Check again runs it once more after you fix something. It needs only commerce.read, and changes nothing.

Most findings also offer a fix in one click, beside Go to it. A fix changes the page's draft (or the theme's), never the live site, so you publish it as any other change; the check then runs again and says how many are left on that page.

  • No alt text: Add the picture's words, typed in the box that opens. This one is the exception: the words belong to the picture in the banner library, so every page showing it gets them at once, live included, and the button says so.
  • Promotion over: Hide the section, Remove the section or Show it without the promotion (it then shows on its own dates, or always).
  • Broken link: Clear it, or, for a banner that is gone, Choose another banner.
  • Hard to read: for a section, Use the section's usual colours (offered only when those read well); for the theme, Use a colour that reads, for the main and accent colours and their text.
  • No phone version, Large picture, Needs fixing and No picture have no one-click fix: they need a new picture or your choice.

If you have changes not yet saved on the page, they are saved first. If the page changed since the check ran (someone else edited it, or you fixed it already), the check runs again instead. A finding on the live version that the draft has already fixed says Fixed in the draft. Publish to clear it. Fixing needs commerce.storefront_manage; with commerce.read alone the fixes are shown but can't be used.

Back-in-stock emails​

A signed-in buyer can ask to hear when a product that is out of stock on the storefront is back. When stock is received for it, each buyer who asked gets one email in the storefront's name and language, naming the product and linking to it (never a price or a quantity), and their request is closed; they ask again to hear the next time. A buyer who has been disabled since is not emailed. Staff viewing the storefront as a business cannot ask on its behalf.

The emails go through the selling company's email provider, as the order emails do. The assistant can tell you which products buyers are waiting for most, and how many; it needs commerce.read.

Replacements, substitutes, kits and the product's web address​

What the storefront reads from a product's own record, with nothing to switch on:

  • Replacement and substitutes (the product's Related products). A discontinued product's page stays up, says it is no longer sold and offers its replacement; a product that is out of stock offers its substitutes that are in stock. A cart line that can no longer be bought, or is out of stock, offers the same with Add instead. Only products the buyer could find and order themselves are offered: a product only for other customers, not published to the online store, not allowed into their state, or blocked for their licence is never suggested. The order then says which product each swapped line stands in for. Record the replacement when you discontinue a product so its buyers move with it.
  • Kits show what they contain ("Contains: 5 EA × Robusto") and are in stock as whole kits, as many as every component allows. A web order for a kit holds its components exactly as an order keyed at the desk does.
  • Pack prices. Where buyers (or, under pricing.visibility = everyone, visitors) see prices, each pack level on the product page shows its own price: the price list's box price where it has one, else the single price times the pack. Set a box price on the default (or the store's) list to show visitors the public box price.
  • Web address and search engines. A product's page lives at /products/<URL alias>; its old address by SKU still works and moves there. The Meta title, Meta description and Meta keywords fields become the page's title, description and keywords for search engines and shared links, with the main picture; empty, the name and description are used. A product a visitor may not see gives away nothing, its metadata included. An alias that is another product's SKU is reached only through that SKU's product.

Product variants on the storefront​

A product with variants (flavours, sizes) is shown as one line with a row per variant: its options, price, stock, and a deal, new or discontinued tag. Only variants published to the online store and on sale are ordered from a row; a discontinued variant that is still published shows as discontinued with no price, and one taken off the online store is not shown.

A deal is a variant whose price for the buyer is below its list price. A variant is new for the number of days in the storefront setting catalogue.new_days (30 unless changed; 0 marks nothing new). The assistant can list a product's variants and which are sold online; it needs commerce.read.

Volume pricing. When a product's price list has quantity breaks for it (for example 1, 5 and 10), its page, its quick view and its prices show each tier as the buyer pays it, with the saving against the first and the buyer's current tier marked. A break that keeps the same price is not shown as a tier. A variant shows its own breaks only.

Sale prices. A product card and product page show a price as a sale only in two cases. The price list strikes through and the Sale badge appears when a promotion lowered the price, or when it came from a price list named in the storefront setting pricing.sale_price_lists (price-list codes, for example CLEARANCE; none unless changed), picked under Catalogue → Sale price lists. A lower price from an account's agreed list, or any other list, is that buyer's price, not a sale. The buyer still sees what they save against the list price.

Most searched keywords. The search panel lists the terms searched most on this storefront over the last 30 days (three searches or more), after the terms you pin in the storefront setting search.pinned_keywords (up to eight, shown first and as you typed them). At most ten show. Only how many times each term was searched each day is kept, never who searched, and anything older than 90 days is deleted daily. An email address, a phone number or a product code typed into search is never kept as a keyword.

The price slider. A signed-in buyer can narrow search results and collections to a price range, between the lowest and highest price they pay over what they are looking at. It reads their own price list, as the order desk picks it: their agreed list, else the store's, else the company's default. List prices and list-level promotions are included. Pricing rules for one customer, or one customer class, are not in the slider or its filter. Those buyers filter on their list's price, and each product card still shows the price they pay. A product on request is never inside a range. Visitors, and buyers whose prices are hidden, see no slider. Prices are re-read when a price changes, and every night at 03:17 UTC (the nightly search rebuild) for prices that start or end on a date.

Low stock. A product in stock with no more than the storefront setting catalogue.low_stock_below (24 base units unless changed; 0 never) is marked low in stock, so the quick view can say "Only 12 boxes left".

The signed-in home's account summary​

A signed-in buyer's home page shows their business's account with the company the storefront sells for: the balance due and the number of open invoices (the same figures as their statement), the credit limit and what is left of it after what they owe and have on order (the same sum the order desk checks an order against; an account that pays before release shows no limit), the order cut-off, the products they order most that are still on sale, and their order lists.

The cut-off is the storefront setting ordering.cutoff_time: a time such as 16:00 in the selling company's timezone, or empty for none. The page shows today's cut-off until it passes, then tomorrow's.

The assistant can show you what a buyer sees there. It needs commerce.read, and customer.read and customer_invoice.read in the company the storefront sells for.

Brand and category looks​

Each brand of the companies the storefront sells for, and each category in the storefront's menu, can have a look: an image (a brand's logo), a coloured band at the top of its page, an accent colour, a description of up to 280 characters, and a banner with alternative text and an optional link. It can also have a tile picture, shown on its tile in category and brand grids. Without one, the tile shows the picture of a product there: one the buyer may see, in stock first, then the newest.

A band is the page type's own colour from the theme, a colour you choose (a swatch from the marketing palette, or a pair of your own, checked for contrast), or, for a brand, its logo's colour. When you upload a brand's first logo, its band follows the logo: the logo's main colour, with white or black text, whichever reads better. You can change it at any time.

A look is a draft until you publish it, and the preview link shows drafts. Images must be files uploaded to this storefront. When a look has problems, each one is listed against its field.

The storefront's all-brands page lists the brands with products on sale on it, A to Z, with how many each has; a brand with nothing on sale has no page.

Reading looks needs commerce.read; changing and publishing them needs commerce.storefront_manage. The assistant can read a look, change its draft and publish it, and asks before each change.

Storefront filters​

On Settings → Custom fields, where the Commerce app is on, the Products fields have a column, Filter on the storefront. Switch it on for a field to let buyers narrow the storefront's product list by that field's values, for example by flavour or strength.

  • Who sees it. The column needs commerce.read, and switching it needs custom_field.manage.
  • Which fields. It is offered for short text, choice lists, numbers and yes/no fields. Long text, dates and money can't be filters: a filter needs one short value per product.
  • When buyers see it. A change shows on the storefront at the next re-projection of the products, or when you choose Rebuild search (Commerce → Storefront → Search).
  • Where it is stored. The switch is storefront_filterable in the field's settings. The storefront's search reads it.

A storefront's page has a Search section (Commerce → Storefront → Search). Everything in it, reading included, needs commerce.search_manage. Without that permission the section says so, and it shows nothing else.

  • Rebuild search rebuilds the storefront's product index in the background from the company it sells for. While it runs, it shows how many products it has done out of how many, and searches keep reading the old index. Afterwards it shows when it last ran and how many products the index holds; a rebuild that failed says why. Only one rebuild runs at a time. Rebuild after publishing products or changing a storefront filter.
  • Try a search shows the first page a buyer gets for a search: the products in order, which are pinned, how many were found, and the words synonyms added. If the search redirects, it shows where to.
  • The four lists take effect on the next search, with no rebuild. Each row can be edited or removed. Every change is audited.
    • Synonyms. Two-way: any of the words finds all of them (vape, ecig). One-way: the first word also finds the others, but not the reverse (disposable also finds puff bar).
    • Boosts. Rank a product, a brand, a category (by its code) or a product-field value higher or lower. The weight is from 0.1 to 10: above 1 raises it and below 1 lowers it. A product is found in the storefront's own index, so it is always one this storefront sells, whichever company you are signed in to.
    • Pinned results. For one search, put a product at a place on page 1. Pin several products to the same search to set the first few in order. Editing a pin moves it; to pin another product or search, remove it and add one. A pinned product that is no longer sold on the storefront is shown as such and is skipped.
    • Redirects. For one search, go straight to a page: a storefront path such as /returns, an https address, or a category's page (/categories/<its path>, as the storefront's menu links to it). The category list is the storefront's own menu: the menus of the companies it sells for, with same-named categories shown once.

Address change requests​

Commerce → Address requests (/commerce/address-requests) lists what buyers asked to change about an address on their account, open ones first (GET /api/v1/commerce/address-change-requests). Seeing them needs commerce.read. Resolve needs commerce.buyer_manage and asks what was done, in up to 2,000 characters, which the request keeps. The address itself is changed on the customer, not here.

A request names the customer of the company it was made to. The list shows and opens that customer only when it is the company you are signed in to.

Appearance (Storefront v2)​

The theme above is edited on the storefront's Appearance section, one card per group:

  • brand colours, for light and, when dark mode has its own, for dark;

  • the marketing palette (swatches you add, rename, recolour, remove and reorder; a swatch a page colour uses cannot be removed);

  • page colours (a swatch or a pair of their own);

  • the header, top bar, cart button and badges;

  • typography;

  • shape and density;

  • page width and product cards;

  • the four logos;

  • navigation;

  • the header and page switches;

  • dark mode.

  • Lines and Borders (storefront v3.1). Lines colours the hairlines and dividers. They are decorative, so they aren't checked for contrast. Borders is kept for an edge that is the only sign a control is there, and is checked at 3:1. The defaults are a warm grey (#E8E4DB) for the earlier look and a light grey (#E5E5E5) otherwise.

  • Readability, as you edit. A moment after each change the server checks every pair the storefront would draw, and nothing is saved. A pair that fails is marked on the colour to change, with its ratio, the colour it sits on and what it needs, and every failing pair is listed at the top. The draft cannot be saved or published until they pass. A refusal that names one field, such as a colour that is not a hex code or a font the storefront does not have, is shown at the top with the field.

  • Fonts. The body and heading fonts are picked from the storefront's own six (Montserrat, Inter, Poppins, Lato, Source Serif 4, Oswald), the system font, or a font uploaded here. An uploaded font is added to the theme with its file when it is chosen.

  • Navigation. Each link is switched on or off and dragged into order. Only the links switched on are shown, in that order.

  • Header and page. Switches, each on until you turn it off:

    • the top bar (storefront v3), the thin bar above the header with the next delivery and order cut-off, the buyer's rep and a notice. While it is on, set what it says to a visitor (up to 160 characters) and the notice at its end (up to 80, such as "Licensed retailers only · 21+"). Left empty, each shows the storefront's own words;
    • the business name on the account button (on a phone, its initials);
    • the cart's total on the cart button (hidden prices show the count only);
    • the back-to-top button.

    They go into the draft and the preview like every other change.

  • Animations. Fly the picture to the cart, on until you turn it off: when a buyer adds a product, its picture flies to the cart button. A buyer whose device asks for less motion never sees it, whatever this says.

  • Navigation also sets how many top-level categories the category bar names after "All categories" (0 to 8; empty is the storefront's default). The brand colours include the Deals link, the category bar's Deals colour.

  • Page width and product cards (storefront v3.1):

    • Page width: the widest the page content grows (960 to 1920 px; blank is the storefront's 1680). The widest side margin is 16 to 96 px (blank is 64), and the margin narrows with the window down to 16 px on a phone.

    • Most products per row on a wide screen: Automatic (2 on a phone, up to 6 on the widest screens), or at most 4, 5 or 6.

    • The cards:

      • the name's case;
      • the picture's shape, and a tinted tile behind it;
      • the SKU and a quantity box;
      • whether a second picture shows on hover;
      • whether Add to cart on the picture shows on hover or always (on a touch screen it always shows);
      • whether product lists open as a grid or a list, and how many size lines show open.

      The cards have no lift or shadow, so those are no longer offered.

  • Navigation also chooses the categories on the menu row, in order (up to 12 of the storefront's top-level categories; none chosen is the storefront's first ones), and whether each mega menu shows its sub-categories as picture tiles. The tiles use the tile pictures set on Brand and collection pages, else a product's picture.

  • What is saved. A part of the theme you have never set is shown as the storefront draws it. For example, a header you never set follows the brand colours, and dark mode is its own scheme. Saving writes only what you changed, so it never sets the rest for you.

  • Logos can be replaced or removed. With no logo for light backgrounds, the storefront's header shows the store's name instead.

  • Reset to default (Hyper) (storefront v3.1) puts the storefront's default look, Hyper's, back into the theme: white pages, near-black text and buttons, Inter, and 14 px corners. It asks first and saves the result as a draft. Your live storefront doesn't change until you publish. Reset to Sarva's earlier look does the same with the look from before the Hyper default. Anything a theme doesn't set shows, here and on the storefront, in the default look.

  • Never published. Until the first publish, the screen starts from the defaults and says Not published yet.

The live preview​

Appearance, Sections, and Brand and collection pages each have a Live preview beside the editor: the real storefront, with your drafts, in a frame. Only you see it.

  • Preview saves what you have changed, then opens it. The storefront shows the drafts in that frame for 30 minutes. After that the pane says the preview has run out, and Open a new preview starts another.
  • The page. The pane starts on the page you are editing: the home page, a collection, or a brand. Choose another page of the storefront from its list.
  • Width. Desktop, tablet or phone, to see how the page lays out on each.
  • After each save (and after publishing, discarding or copying a version back) the frame redraws with the new draft. No new link is needed while the preview lasts.
  • Open in a new tab opens the same page with a link of its own, since a tab does not share the frame's preview.
  • Signed out. The preview shows the storefront to a visitor who is not signed in. The signed-in home's sections are not in it yet.

Sections (Storefront v2)​

The pages above are edited in the site builder (Look and pages → Open the site builder), one page at a time: signed-in home, signed-out home, collection pages, brand pages, all brands, sign in, and Every page.

  • Per page. Add a section the page allows (the server says which), remove one, drag to reorder (or use move up and move down), and show or hide it.

  • Each section's settings are drawn from the server's description of that section:

    • words, with their limits;
    • a colour from the theme's marketing palette, or a custom pair checked for contrast;
    • an uploaded image;
    • a link: a collection or brand from the storefront's own catalogue, a storefront page, or a path or https address;
    • numbers and choices;
    • lists of tiles or banners.
  • Audience. Everyone, signed-in buyers, visitors who are not signed in, or chosen customer groups.

  • Draft, preview, publish, per page, the same as Appearance. Every field the server refuses is marked where it is, all at once.

  • Published versions. Each page lists its published versions. Copy into draft brings an earlier one back to preview and publish.

  • Start from a preset fills the page with a preset's sections and words, for you to adjust. Pick one:

    • Sarva v3 (storefront v3):
      • on the home pages: split hero, account panel, deal card, buy again, picture category tiles, collection tabs, countdown banner, promo tiles and top brands;
      • on Every page: the footer's trust strip, contact row, sign-up, link columns, payment methods and notice.
    • Hyper home (storefront v3.1, Hyper's home order):
      • on the home pages: slideshow, the collections row, collection tabs, a pair of banners (promo cards signed in, promo tiles signed out), countdown banner, top brands, picture category tiles, new arrivals (signed out) and the moving trust strip;
      • on Every page: the announcement bar (messages that turn, links on the left, the delivery day and social links on the right), then the same footer.

    A preset whose sections the storefront doesn't have yet isn't offered.

    It asks first, because it replaces the page's sections. Only the section types the storefront has are added, and nothing is saved until Save draft. Collection tiles link to your collection of the same name where there is one, and take the theme's marketing colours in turn. Words in brackets, such as [Phone], are yours to fill.

  • Once on a page. Every page holds one announcement bar and one site footer, so Add doesn't offer a second while one is there.

  • Hotspots on a banner are placed on the picture: choose the banner, add the hotspots, then under Place the hotspots choose one and click where it goes (the arrow keys move it too). The numbers below the picture are the same places, for exact values. The picture is cropped as buyers see it: a wide frame around the banner's focal point, so a hotspot sits where you put it on the live page. Phone (4:3) shows the narrower phone crop, with the banner's phone version if it has one; a hotspot near the left or right edge may fall outside it there.

  • What every page shares is edited on its own screen, and the builder links to each under the page's sections: Header, colours and product cards (Look and pages → Appearance), Brand and collection pages (Look and pages → Looks), Mega menu (Catalogue → Menu) and Special offers tab (Promotions and offers). Each opens where it is.

  • The regulated-goods notice stays. If your companies sell regulated goods (the storefront's Compliance settings show), the site footer keeps its notice on every page, for every buyer: the footer can't be removed, hidden, limited to some buyers or scheduled, and the notice can be turned on but not off. You can change its wording.

  • The announcement bar's links go to a page of the storefront (/contact) or an https:// address. An email link (mailto:) is refused, as it is on every section's link, so point "Contact your rep" at a contact page. If one of the bar's settings can't be read, the storefront drops the whole bar and shows its older one, so preview it before you publish.

  • An end time (a countdown banner's) is a date and time, saved with your timezone, so the storefront counts down to the same moment wherever the buyer is.

  • The v3 sections are split hero, account panel (signed-in home only), deal card, picture category tiles (each tile links to a collection or a brand), collection tabs, countdown banner, promo tiles (up to three) and top brands. The site footer also takes a trust strip (up to eight), a contact row (up to four), an email sign-up, payment methods (up to six) and legal links (up to four).

  • Every page holds the storefront's footer, shown under every page. It takes one Site footer section:

    • the logo and a short "about";
    • the address, phone, email and opening hours;
    • up to four columns of links (Shop, Account, Help, …), each with up to eight;
    • the notice for regulated goods, on by default ("For licensed retailers only. Tobacco and nicotine products are for adults 21+");
    • social links and the legal line.

    It is previewed on the home page.

Brand and collection pages (Storefront v2)​

The Brand and collection pages section gives each brand the storefront sells (every bound company's, one entry per brand name), and each collection in the storefront menu, its own look. Choose Brands or Collections, then one of them.

  • Logo or image for its tile.
  • Tile picture (storefront v3) for its tile on the home page's picture-led category tiles: product photography rather than the logo. Without one, the storefront shows the first product there with a picture, so a tile is never empty.
  • Description, up to 280 characters, shown under the page's title in the collection header, and an optional banner beside it with its alt text (required) and an optional link.
  • Draft, preview, publish, per brand or collection, the same as Appearance.

Since storefront v3.1 the page has no coloured band, so a look no longer offers a band colour or an accent. Ones set before are kept but not drawn.

Moved pages​

A storefront's page has a Moved pages section, for managers. It sends an old address on the storefront to a new one, so links people saved, or that search engines know, keep working. It is not search curation's redirects, which act on what a buyer types into the search box.

  • Add an old address and a new one, both paths on the storefront starting with /, such as /old-page. They must differ. Permanent (308) tells browsers and search engines the page has moved for good. Turn it off for a temporary move (307).
  • Edit or remove a redirect from its row. An old address can redirect only once: to change where it goes, edit its row.
  • Permissions. Viewing and changing moved pages needs commerce.storefront_manage.

Companies​

A storefront's page has a Companies section, for managers: the companies of the group that sell through this storefront. Each keeps its own books, so its orders, prices, tax and credit are its own; a buyer sees which company sells each item, and gets one order per company at checkout.

For each company:

  • Badge: what the storefront's "Sold by" badge says on its products, cart lines and documents. It starts as the company's short name.
  • Default: the company an item sells from when no rule and no account decides (see Who sells what). Make default moves it; the default cannot be removed until another company is.
  • Minimum order: an order from this company below it cannot be placed, and the cart shows the buyer how much more to add from this company. Empty means none.
  • Delivery fee, and the amount it is waived over: added to each order from this company as a charge line, so the invoice bills what the buyer reviewed. The line is named by the storefront setting Delivery fee name (checkout.delivery_fee_label, default Delivery). Below the waive-over amount the cart tells the buyer how much more from this company makes delivery free, unless Free delivery hint (cart.free_delivery_hint) is off; above it the cart says Free. A fee changed after a buyer reviewed their order is shown to them as a price change before they can place it. Empty means none.
  • Shared warehouse: name the warehouse a company ships from when the storefront's companies share one, with the same name for each. A checkout's orders for companies with the same warehouse are tagged to ship together (see Orders from one checkout). Empty means it ships on its own.

Add a company offers the group's companies not on the storefront yet. Remove takes a company off the storefront: its items leave the storefront, and its orders and documents stay. The last company cannot be removed. Changing companies needs commerce.storefront_manage.

The menu​

A storefront's Catalogue → Menu says which of each company's collection trees the storefront's category menu shows. Anyone who can see the storefront can read it. Changing it needs commerce.storefront_manage.

  • Each company's tree. The default is the tree the company marks as its storefront menu (in Inventory). Choose another of its trees when the company's menu lives elsewhere, such as the collections a migration brought. Each tree shows how many categories it holds.
  • One menu. Categories with the same code, or else the same name, in two companies are one entry, with both companies' products. The preview shows the merged menu as buyers will see it, and the companies each entry comes from. It changes as you choose, before anything is saved.
  • Save, then Rebuild search (the storefront's Search section). Products are filed under the new menu in search and on the collection pages from the next rebuild. Undo changes puts back what is saved.
  • If the storefront's companies or menu changed while you were choosing, saving is refused: reload and choose again.

Editing the menu for this storefront (commerce admin v2, C3)​

Under the tree choice, The menu buyers see is the storefront's menu as one tree, built from the companies' trees and edited for this storefront only: the companies' catalogues don't change.

  • Drag an entry to reorder it or nest it under another (at most four levels deep), or use Sits under and Move up / Move down on the entry.
  • Name on the menu renames it here; Use the companies' name puts it back. Its code, page and links stay the same.
  • Shown on the menu off hides it and everything under it; its products stay findable by search.
  • Merge into shows it as another entry: its products and the entries under it move there, and its page sends buyers there. Unmerge takes it back out.
  • Add a link puts a link on the menu: Deals, New arrivals (both open the search, as the storefront's own menu does), a brand or a custom page, at the top level or under an entry.
  • On the menu row chooses what sits on the menu row (up to 12), in the order set under The menu row.
  • Each entry shows its companies, its product count and a warning when it is Empty, a Duplicate, from a Demo tree or in Capitals. Tidy the menu proposes the fixes (merge the duplicates, show the capitals in normal case, hide the empty and demo entries); each is applied only when you accept it.

Every change is saved to the menu's draft at once. Nothing reaches buyers until the menu is published, with Publish the menu here or from the publish bar with everything else; Throw the draft away goes back to what is live. Changing the menu needs commerce.storefront_manage.

Catalogue → Trending products, the one place the pins are edited, lists each top-level entry of the menu as saved. Each entry's panel on the storefront shows its trending products: the ones you pin here first, in this order, then the best sellers in that entry's categories over the last 30 days (the Best sellers over the last … days box, 1 to 365).

  • Pin a product with the box under an entry: find it by name or SKU. An entry takes up to 12, each once.
  • Reorder with the arrows, swap one by choosing another product in its place, or unpin it with the bin.
  • Each change saves at once, and only that entry's pins change, so two people pinning for different entries don't undo each other.
  • A pinned product that is no longer on the storefront is marked, and buyers don't see it. A product that can't be found any more says so. Pins for an entry that is no longer in the menu are kept, in case the menu changes back.
  • An entry with no pins and no sales in the window shows no Trending products on the storefront.

Changing pins and the window needs commerce.storefront_manage; anyone who can see the storefront can read them.

Who sells what​

When more than one company sells through a storefront, each item a buyer sees or orders is sold by one of them. The storefront's page has a Who sells what section that decides which:

  1. The sell-from rules, in their order: the first rule that matches an item decides. A rule matches items, categories (by code), brands, or attributes (tobacco = pipe, or several values written pipe | cigar). An item matches when it fits every box filled in; within a box, any of its values will do.
  2. With no rule, a company the buyer's business has an account with that sells the item (the one with stock first, then the one whose licence checks pass).
  3. Otherwise, the storefront's default company.
  • Edit the rules as a draft: add, change, remove, move up and down, then Save rules (which replaces the list in its order) or Discard. Buyers see the saved rules until you save. A rule the server refuses is named on its row. Editing names one of the storefront's companies, so it opens once the storefront's Companies section is there.
  • Which company sells this? Search for an item, and optionally choose a business, to see the company that sells it, why (a rule, the business's account, or the default) and what was weighed for each company: whether it sells the item, has an account for the business, and has stock. It answers for the saved rules.
  • Permissions. Reading the rules and asking needs commerce.read; saving them needs commerce.storefront_manage.

Customer matches​

When two companies sell through one storefront, a shop that buys from both is a customer in each company's books. Commerce → Customer matches proposes which accounts are one business, so its buyers sign in once and buy from both companies, each on its own account.

  • Proposals pair two companies' accounts, side by side, with a score from 0 to 100 and why: a shared licence number or tax ID counts most, then the address and phone (or one of them), then the email domain. Only what matched is shown, never the number itself.
  • Confirm links both accounts to one business; if each already had its own, the two are merged into one. Reject keeps them apart, and the pair is not proposed again. Either can carry a note.
  • Confirm all scoring N or more confirms in one go, after saying how many; any it cannot confirm is listed with why. Set the score where you would confirm without looking.
  • Unlink takes a confirmed account out of its business again, with a note saying why: its buyers lose that company's prices, orders and documents straight away.
  • Refresh proposals looks again across the companies' customers.
  • The Confirmed and Rejected tabs show who decided, when, and their note.

Nothing is linked until someone confirms. Reading needs commerce.read; confirming, rejecting, unlinking and refreshing need commerce.customers_match.

Before go-live, an operator can see what would be proposed without saving anything:

erp commerce match-customers --entity <company> --dry-run

It prints each pair, highest score first, with its reasons. --refresh saves the proposals for the screen instead. The command never confirms a match.

Orders from one checkout​

When a buyer's checkout includes items from more than one company, it places one sales order per company, all or none. In ORLLET, each of those orders says so:

  • On the order page, beside the web order's other facts: Placed together with each of the other companies' orders, with its number and state. Open goes to that order in its own company, for someone who can work there. An order its company never placed says Not placed.
  • Ships with, on the order page and where the order is picked and packed, when the other company's order ships from the same shared warehouse and is not cancelled.
  • Cancelling one of them asks whether to cancel the others still open. Cancel them too cancels each in its own company, with the same reason, and only where you may cancel orders there; any it could not cancel is named, with why. Keep them leaves them as they are.

Reading the group needs commerce.read and sales_order.read; cancelling needs sales_order.manage in each company.

How it interacts with other apps​

Web orders arrive in Sales on the web channel, priced, checked and approved like any other order. Your storefront's initial-status setting decides whether they wait for approval.

Each web order records the buyer who placed it and the storefront it came from. The order page shows the buyer's name, and reading it needs sales_order.read, the same permission the order needs. No setting turns this off.

Sales orders, shipments, invoices and credit memos publish an event each time their status moves. The storefront uses these to update a buyer's order history and to send status emails. The events are:

  • sales_order.status_changed;
  • shipment.status_changed;
  • customer_invoice.status_changed;
  • credit_memo.status_changed.

They also reach the event feed and your webhooks, so an integration can subscribe to them (see docs/admin/webhooks.md). They carry identifiers and status words only, never an amount, number or name.