Skip to content
A. Echeverría
← Back to the plates

Plate IV · 2026

Online store for a coffee brand

Catalog, cart and orders confirmed over WhatsApp, with an admin panel to manage products and orders.

Fig. 1

How it works

How it works: Online store for a coffee brandCustomer (local cart), WhatsApp (prefilled message), Team (runs the store), Storefront (static pages), Checkout (Zod · server-side prices), /admin panel (roles and drafts), PostgreSQL (products and orders)One app · Next.js 16 and Payload CMSbrowsesids and quantitiesreprices and saveswa.meconfirmseditspublishesrebuildsCustomerlocal cartWhatsAppprefilled messageTeamruns the storeStorefrontstatic pagesCheckoutZod · server-side prices/admin panelroles and draftsPostgreSQLproducts and orders

Swipe to see the whole diagram →

Pick a walkthrough to follow a piece of data through the system.

The problem

A coffee brand was already selling its product but had no online store. It needed a store where customers could build their own order, and a simple panel for the team to manage products, prices and orders.

Key decisions

  • Orders over WhatsApp. It is how most local customers buy, and it allowed launching without integrating a payment gateway on day one.
  • The server owns the prices. The cart only sends IDs and quantities; the total is recalculated from the database so nobody can pay less by tampering with the browser.
  • An admin panel for non-technical people. Payload CMS provides a Spanish panel with roles, drafts and automatically optimized photos.

Outcome

In development. The catalog, cart, admin panel and end-to-end checkout tests already work; it is not live yet.

Esc
andres@portafolio: ~Esc to close · Tab completes