Websites

Order management for a small online store: pending to fulfilled

Order management for a small online store is seeing each order, knowing which are paid and moving them through to sent. On OneCraft the agent writes it with the orders and admin guides: an orders table with a status, a timeline of events per order, and an admin page where you filter, open and fulfil them.

Create a website with OneCraftThe order record and its statuses, the orders page in your site's admin, how payments and refunds change the status, and what buyers can see.

The order and its status

Every order has the buyer's name and email, an optional phone and address, a note, the subtotal, shipping, discount, tax and total in cents, and a status: pending, paid, fulfilled, cancelled or refunded. Its items keep the name, options, unit price and quantity at the time of the order, so a later price change does not rewrite history.

The orders page in your admin

Orders can be filtered by status. Open one to see its items, the payment reference and Stripe's receipt link. Mark fulfilled and Cancel update the status and add an event with an optional note, so each order carries its own timeline. The admin dashboard has a tile with today's orders.

Paid, refunded and pending

With Stripe connected, the webhook moves an order from pending to paid, and to refunded after a full refund made in your Stripe dashboard; a partial refund leaves the status alone. Without Stripe, orders stay pending and the thank you page tells the buyer you will confirm by email.

What buyers see

A signed-in buyer has an /orders page listing their own orders with status chips; the database refuses them anyone else's. A guest cannot read orders at all, so the thank you page asks a narrow function for that one order's status and receipt link. With the notifications capability, signed-in buyers also get a bell with updates.

Exports and staff

With the csv capability, the orders table gets an Export button that writes a CSV file in your browser, with cells that look like formulas made safe. Staff you add to site_admins see and manage orders too; only an owner can remove staff.

How it works, in three steps

  1. Step 1

    Ask for orders

    Describe the shop in the generator, or ask in chat for a cart, checkout and an orders admin on a site you already have.

  2. Step 2

    Give it a database

    Every plan gets a hosted site database, or you can connect your own Supabase account in the site's Settings, Database card. Connect Stripe in account Settings, Payments for card payments.

  3. Step 3

    Check it and publish

    Sign in to /admin with the admin account the agent reports, try it in the preview, then publish from the builder on a paid plan.

Limits worth knowing

Questions people ask

How do I know a new order came in?

Open the orders page in your site's admin; the dashboard tile shows today's orders. Pushes to your phone are not available. A mail to you is possible when the buyer is signed in, because the site can send a signed-in person's mail to the owner's address, so ask for an order alert in chat if your buyers sign in.

Can I change an order after it is placed?

Not its lines or prices. Orders and their items are written only by place_order, and visitors have no update rights. In the admin you change the status and add notes. If a buyer wants something different, cancel the order and ask them to order again, or make a partial refund in Stripe.

What happens to stock when I cancel an order?

With inventory tracking, a cancel or refund adds a returned movement that puts the items back. Without it, tracked stock was taken down when the order was placed, so check the product's stock after a cancel. Either way the order keeps its items and history; it is never deleted.

Can buyers cancel their own orders?

Not in what the orders guide builds: buyers can read their own orders but not change them, and the status moves only through admin actions and the payment webhook. If you want a cancel request button, ask in chat; the agent writes it as a database function that checks the order's status first.

Why do I see orders nobody paid for?

An order is written as pending before the buyer reaches Stripe, so pending orders include people who left Checkout without paying. Filter by paid to see what to send. A pending order with no payment after a day or two can be cancelled in the admin, which also frees its stock when inventory is tracked.

Make your own website

The button opens the generator with this use case already described. Change the wording to match yours, generate, then edit anything you like.

Create a website with OneCraft

Not ready to start? See the AI website builder page first.

Related pages

More finished work of this kind is on the website examples hub.

Sources

Written and checked by the OneCraft team. Last checked .