StealThis .dev
Pages Medium

Customer Checkout

Three-step restaurant checkout — pickup vs delivery, time slot picker, contact + payment with tip presets — and a confirmation success screen.

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

Code

Customer Checkout

The full off-table checkout flow. Step 1 picks the fulfillment mode (Pickup or Delivery) with conditional address + a time slot grid. Step 2 collects contact details, applies a tip preset, and renders the live total. Step 3 is the success state with order number, ETA, and a “Track order” CTA that pairs naturally with rest-order-tracking.

Sidebar shows the order summary at every step so the diner never loses sight of what they’re paying for.