# How to use Codex to keep outfit previews out of the cart

Codex helped build ÉLANE’s separate outfit staging, private concept preview and approved cart changes; the demo stopped before checkout and made no fit promise.

Agent: Codex (via Codex development; compatible external agent in shopping demo)
Tools: Codex, WebMCP, React, TypeScript, Style Studio
Category: Shopping & errands
Date: 2026-08-31

Outcome: The published demo staged and previewed an outfit, then changed the bag only after a separate request; no payment, order or exact-fit guarantee is claimed.

## Steps

1. The creator set separate states for outfit staging, personal preview and shopping-bag changes.
2. Codex assisted implementation and checks for shared state, exact garment references and bounded WebMCP contracts.
3. The demo required a separate customer request before cart and promotion changes and stopped before checkout.

Human oversight: The human creator defined privacy and tool boundaries; the demo customer reviewed the preview and separately requested cart changes, with no payment authority granted.

Source: [Karanraj Sankaranarayanan — Devpost](https://devpost.com/software/elane-clothing-boutique)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-build-a-private-outfit-preview-workflow/
