Skip to content
CupCakeLabs

Client project, in production

EA Central

Wholesale e-commerce with tiered pricing, filtering by phone model and ordering through WhatsApp.

Sector
Phone accessories wholesale
Year
2026
Runs on
Web, Mobile (responsive)
EA Central storefront with products and a quantity discount band

Context

Sales happened over WhatsApp with a PDF catalog. Customers sent their list as voice messages, the salesperson calculated wholesale prices by hand and got discount tiers wrong. There was no filter by phone model, the main criterion for anyone buying cases and screen protectors.

Product

A storefront built for large orders: catalog by category, brand and phone model, per-model pricing with discount tiers, a cart with color selection, shipping by postal code and a button that records the order and opens WhatsApp with the message ready. On the other side, a panel where the retailer maintains the catalog and follows orders.

Challenge

  • Implementing counter-style pricing: discount tiers that add up models of the same product, and per-model price exceptions.
  • Turning a PDF catalog, with no colors or models and inconsistent names, into structured data.
  • Giving the retailer autonomy to maintain hundreds of products without depending on a developer.

Solution

Pricing rules are shared between front end and API, with the server as the source of truth: every order is recalculated from the database. A custom pipeline extracted and classified the catalog from the PDF, and the panel gained bulk actions to complete product records without opening one form at a time.

Architecture

Storefront and panel are the same front end; the API is the only thing that talks to the database and the only one that decides prices. WhatsApp is the closing channel, not the system.

The orders endpoint recalculates everything from the database and returns the WhatsApp link with the message ready.

Technology

Front end
  • React 18
  • TypeScript
  • Vite
  • React Router 7
Back end
  • Node.js 20
  • Express
  • Prisma
  • Zod
  • Helmet
Data and deploys
  • PostgreSQL 16
  • Vercel
  • Railway
Integrations
  • WhatsApp
  • SuperFrete
  • Meta Pixel and Conversions API
  • ViaCEP
  • PIX
  • Playwright

Results

  • Live at eacentral.com.br, with the catalog maintained by the client in the panel.
  • Orders arrive recorded and recalculated on the server, instead of lists sent as voice messages.
  • Catalog imported from the original PDF through an extraction pipeline, with no manual typing.

Inside the product

Catalog filtered by phone brand and model
Filter by brand and model, the key criterion for anyone buying cases and screen protectors.
Product page with price tiers by quantity
Quantity discount tiers on the product page.
Cart grouped by product with the discount tier reached
Cart grouped by product, with the tier reached.
Panel with quantity discount and per-model pricing
In the panel, per-model pricing and quantity discounts.
Order list with status in the panel
Orders with status and export for picking.
EA Central home page
Storefront home page.

Facing a similar problem?

The first conversation is about understanding the problem. If it makes sense to work together, you get a proposal with scope, phases and timeline.

Tell us about your project