How an online store works, end to end
The clearest way to understand a store is to follow a single order all the way through, because every component you will later argue about appears exactly once along that path, in the order it matters.
What follows is that path, with the failure point of each step named — because the failure points are what you are actually buying when you buy an ecommerce build.
The path of one order#
- Discovery: the shopper arrives from search, an ad or a link and lands on a product page.
- Selection: they choose a variant, which must map to a real, in-stock item.
- Cart: price, tax and shipping are calculated for their address.
- Checkout: identity, address and payment are captured, and payment either succeeds or does not.
- Order creation: an order record is written, stock is reserved, a confirmation is sent.
- Fulfilment: the order reaches whoever picks it, and a tracking number comes back.
- After-sale: returns, refunds and support all read the same order record.
Where each step breaks#
| Step | Common failure | What it costs |
|---|---|---|
| Selection | Variant exists on the page but not in stock | Cancelled order, lost trust |
| Cart | Shipping cost appears only at the end | Largest single cause of abandonment |
| Checkout | Forced account creation | A measurable share of buyers leave |
| Order creation | Stock reserved twice | Oversell and a manual apology |
| Fulfilment | Order arrives without required data | Warehouse phones the office |
Why the order record matters more than the storefront#
Everything after payment reads one object: the order. If it is complete and immutable, returns, support and accounting are easy. If it is patched together from three systems, every downstream process becomes a negotiation.
Design the order record before the product page. It is the thing your business will still be reading in five years.
What to instrument on day one#
Count sessions that reach each step. Not opinions, counts. The gap between two adjacent steps is the only reliable map of where your store is losing money.
Frequently asked questions
What is the most fragile step?
The transition from cart to checkout, where shipping and tax become concrete for the first time.
Should stock be reserved at cart or at payment?
At payment for most stores. Reserving at cart looks safer and quietly hides inventory from real buyers.
How much of this does a hosted platform handle?
Most of the mechanics. It does not handle your specific pricing, tax and fulfilment rules.
how online stores workecommerce order flowcheckout processorder lifecyclestore architecture