# How Storefront works

Where a storefront product comes from, what the publish switch changes, and the path an enquiry takes from a product page to your desk.

Storefront does not keep a catalogue of its own. It is a lens over the items you already hold, with the extra fields a shopper needs laid on top: a description written for the public, images, search wording and a switch that decides whether the page exists at all.

![The right-hand column of a product, showing four cards. Status reads Active. Product organization gives Type as Goods and Manufacturer as Ravensworth Bearings Ltd. Publishing holds the Online storefront switch, turned on, with the note This product will be visible on your storefront. Tags lists bearings, metric, sealed, next-day and stock-line as chips.](https://www.sorviai.com/help/storefront/getting-started/product-publishing.png)

*Publishing is one switch, and it is the whole of the public or not public decision.*

## One item, two audiences

The same record serves your team and your customers, and the two see different halves of it.

- **What your team already filled in**: Name, SKU, price, stock, manufacturer, tax and the rest of the commercial detail. Storefront reads it rather than asking again.
- **What Storefront adds**: The public description, the images, the URL handle, the search engine listing, tags, metafields and the publish switch.

Change a price in one place and it is changed everywhere, because there is only one record. That is also why a product removed from the storefront is not deleted: turning the switch off withdraws the page, and the item carries on doing its job in the rest of the business.

## Draft and published

Publishing is a single switch per product, and it is the whole of the public or not public decision.

- **Draft**: The product exists and you can work on it. No page is served to a shopper and nothing about it appears on the storefront.
- **Published**: The product has a page, can be found, and can appear in any collection whose rules it matches.

A service is treated the same way as a stocked item. Nothing forces you to publish either; plenty of catalogues show only the goods.

## Where variants fit

A product with options is a parent with a variant underneath for each combination a shopper can pick. Every variant is a full product in its own right: its own SKU, price, stock, image and page. The parent carries the shared description and groups them.

1. **Product**: The shared title, description and images
2. **Option axes**: Bore, Length, Colour, and their values
3. **Variants**: One per combination, each with a SKU and price

## How a collection fills

**Smart** (Rules decide)

- Yes: You write conditions such as Tag is equal to next-day.
- Yes: Membership recomputes as products change, without anyone touching it.
- Yes: A live preview shows what matches before you save.
- No: You cannot exclude a single awkward product by hand.

**Manual** (You decide)

- Yes: You pin exactly the products you want, in the order you want.
- Yes: Nothing arrives or leaves unless you put it there.
- No: A new product that belongs in it stays out until somebody adds it.

## The path an enquiry takes

A shopper can gather what they need on the storefront and ask you to quote for it instead of checking out, giving their name, email, phone and a message.

1. **A cart**: The products the shopper gathered
2. **One enquiry per product**: All sharing a reference, all Pending
3. **Accepted or Rejected**: Your decision, recorded on each row

The one-row-per-product part surprises people: a request for four items arrives as four enquiries carrying the same reference, name and message. Answering one leaves the other three waiting.

Answering an enquiry does not move stock or raise a document on its own. It records the decision and gives your sales team the detail they need to carry on. **Expired** is a fourth status the record can carry, but nothing in Storefront sets it: enquiries do not time out on their own.
