COMMERCE FLOW

Add to cart app flow

A commerce flow in 6 screens, from product to stock and price problems. Start your app from it, and your agent draws it on your own design system.

  • 6 screens
  • 8 patterns
  • Mobile and desktop
  • Brand: Mampir (made up)

The screens, in order

MobileDesktop
  1. ProductAdd to cart, Product, mobile
  2. Pick a sizePro
  3. AddedPro
  4. CartPro
  5. Promo code expiredPro
  6. Stock and price problemsPro

See all 6 screens, at mobile and desktop.Pro opens the whole flow in your Universe, with the prompt and code for each screen.

Upgrade to ProAlready Pro? Open in Universe

When to use it

USE WHEN

Multi-item shopping, food ordering, merchandise with variants.

AVOID WHEN

Single-item or digital purchases where Buy now is enough; skip the cart and go to Purchase and ordering.

Patterns and why they work

8 decisions this flow makes, and the clarity each one buys.

  • Size required before add

    One missing choice is named

  • Selected variant echoed next to the button

    Confirms what goes in the bag

  • Non-blocking added toast with live badge

    Confirms the add and count

  • Price in the add button

    Quantity and cost in one place

  • Stepper that turns into trash at 1

    One control for qty and remove

  • Free-shipping progress

    Says how much more is needed

  • Promo code field with Apply and inline result

    Success or error sits under the field

  • Scarcity labels per variant

    Stock shown before choosing

Each pattern also has its psychology, the intuition behind it and what it rules out, plus layout notes for mobile and desktop.

Open in Universe

Pairs with

The flows this one hands off to or comes back from.

More Commerce flows

Drawn for the same brand, so they fit together.

Questions

When should I use a add to cart flow?
Multi-item shopping, food ordering, merchandise with variants. Use another pattern for single-item or digital purchases where Buy now is enough; skip the cart and go to Purchase and ordering.
Which screens does it need?
This pattern uses 6: Product, Pick a size, Added, Cart, Promo code expired and Stock and price problems.
Is Mampir a real app?
No. Mampir is a made-up neighbourhood marketplace: order, book, subscribe, so the screens show the pattern without copying anyone's brand. Your agent redraws the flow on your own tokens and components.
How does my agent use this flow?
Connect Claude Code, Codex or Claude Desktop to Wonderblok over MCP. The agent calls use_pattern for this flow, reads its screens, rules and states, and draws them in your file.
Is it free?
Browsing Universe is free. Full pattern notes and use with your agent are part of Pro, and the Free plan opens a few flows in full each month.

Start from a pattern that works. Your agent draws it on your brand.

Browse Universe free