Problem Statement: The Phone Is the Storefront
Frames mobile-first e-commerce as a constrained-device, intermittent-network commerce system, not a shrunk desktop site.
Problem statement
Design a mobile-first e-commerce experience for a marketplace where the dominant customer journey happens on smartphones: browse, search, evaluate product pages, manage a cart that survives connectivity loss, and complete checkout with minimal data usage, quick load times, and one-handed interaction. The system includes a mobile app plus a progressive web experience, a backend commerce platform, an edge delivery tier for images and cached pages, push notification infrastructure, and offline cart synchronization.
This is not "make the website responsive." A mobile-first commerce system is shaped by four hostile constraints that desktop design can usually ignore. First, network quality varies violently: a shopper moves between Wi-Fi, 5G, congested 4G, subway dead zones, and 2G-class fallback in a single session. Amazon has publicly described engineering for exactly this reality, building its mobile shopping experience around prefetching and aggressive payload control because even hundreds of milliseconds of added latency measurably reduced conversion. Second, the device is constrained: mid-tier Android phones with 3-4 GB RAM and budget storage are the majority of global commerce volume, so app size, memory pressure, and image decode cost are architecture inputs, not afterthoughts. Third, sessions are fragmented: a shopper scrolls for 90 seconds, locks the phone, comes back two hours later, and expects the cart and filters to be exactly where they left them. Fourth, trust is physical: the checkout must feel safe on a small screen with typed payment, biometric auth, and 3-D Secure challenges that can fail mid-flow.
Why this problem is distinctive
A desktop e-commerce design can assume a warm cache, a big screen, a mouse, and a stable broadband pipe. The mobile-first version must invert those assumptions. The catalog and pricing stay server-authoritative because inventory and promotions change by the second during sales, but the browsing state, the cart draft, recently viewed items, and search history must live on the device and reconcile later. Public evidence makes the scale of this category concrete. Amazon reported that Prime members purchased more than 500 million items during its July 2024 Prime Day event globally, a mobile-dominated traffic wave that any mobile architecture must absorb. Shopify reported that its merchants generated 9.3 billion dollars in global sales over the 2023 Black Friday through Cyber Monday weekend, up from 7.5 billion the prior year, with the majority of purchases completed on mobile devices. Flipkart publicly committed to a mobile-first pivot in 2015 and later shipped Flipkart Lite, a progressive web app built for low-end devices and poor networks in India, and reported that the overwhelming majority of its orders now originate on mobile.
The four architectural planes
- Device plane: rendering, local storage, offline cart journal, image prefetch queue, network-quality sensing, and credential storage in the secure enclave or keystore.
- Edge plane: CDN for images and immutable assets, edge-cached catalog fragments, request routing, WAF, and bot filtering before anything reaches origin.
- Commerce plane: catalog, pricing, inventory, cart service, checkout orchestration, payments, orders, and promotions, with strong consistency where money and stock move.
- Engagement plane: push notifications, deep links, price-drop alerts, abandoned-cart recovery, and campaign fan-out, all idempotent and rate-controlled.
A strong answer keeps these planes separate. The engagement plane may degrade for hours without hurting checkout. The device plane must keep the cart safe during a total outage. The commerce plane must never oversell inventory because the mobile layer retried a request.
Key Highlights
- •Mobile-first means designing for intermittent networks, constrained devices, fragmented sessions, and small-screen trust, not shrinking a desktop layout.
- •Catalog and pricing stay server-authoritative; browsing state and cart drafts live on-device and reconcile.
- •Amazon, Shopify, and Flipkart all publish mobile-dominated commerce scale; every uncited number in this answer is an explicit design assumption.
- •The architecture has four planes: device, edge, commerce, and engagement.
- •Checkout correctness and inventory integrity outrank every latency optimization.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "I will separate what must be server-authoritative from what can live on the device before choosing any database."
- "Let me define the network and device envelope first, because every other decision follows from it."