StealThis .dev
Pages Medium

Shop — Orders Manager

An operational orders console for a storefront back office. A sortable orders table lists ID, customer, total, payment and fulfillment status chips and date, with filter tabs for All, Unfulfilled, Paid and Refunded plus live search. Selecting a row slides out a detail panel showing line items, the customer block and a timeline. Fulfill, refund and print actions update the status badges and confirm with a toast, and a checkbox column drives bulk-fulfill across the visible selection.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Orders Manager

An admin orders console for the fictional Northwind storefront. The main table lists every order with its ID, customer, item count, total, a payment chip (Paid, Pending or Refunded) and a fulfillment chip (Unfulfilled, Fulfilled or Refunded), plus the order date. Filter tabs across the top — All, Unfulfilled, Paid and Refunded — narrow the view, each carrying a live count, and a search box matches against order number or customer name as you type. Column headers sort by date, total or customer.

Clicking any row slides out a detail panel with the order’s line items and per-line pricing, the customer and shipping block, an order summary with subtotal, shipping and total, and a vertical timeline of events. The panel’s Fulfill order, Refund and Print actions update the badges in place and confirm with a toast, while refunds append a timeline entry. A checkbox column plus a sticky bulk bar let you select several unfulfilled orders and fulfill them all at once, with the selection count and totals kept in sync.

Everything is generated from a small in-memory order model, so the table, tabs, search, sorting and detail panel all read from the same source of truth. The layout collapses the panel to a full-width sheet and switches the table to a stacked card view below about 720px, staying usable down to 360px.

Illustrative storefront UI only — fictional products, prices, and reviews. No real checkout.