E-commerce cart and checkout
Floward, contract, Jun 2026 – Sep 2026
Reusable cart components, checkout states, and a stale-state fix in a multi-region platform's large frontend monorepo.
This was contributed feature work inside an established product and codebase. I did not own the platform.
In your bundle
Component A
Modal closed
Open Edit, choose another component, close without saving, then open Edit again.
Context
A multi-region e-commerce platform in a large frontend monorepo, using Next.js 15 Pages Router, TanStack Query, Tailwind CSS and TurboRepo. I joined as a contractor and contributed to cart and checkout.
Problem
Cart and checkout carry many states: minimum order value, out-of-stock items, bundles and delivery slots. Separately, in bundle personalization, the previously selected component appeared selected when the edit modal was reopened.
My responsibilities
- Built reusable cart components.
- Handled minimum-order-value (MOV) and out-of-stock (OOS) states, order summaries and bundle item presentation.
- Worked on delivery-slot selection and related checkout UI behavior, including cart updates and navigation flows.
- Diagnosed and fixed the stale-state bug in bundle personalization.
- Integrated shared UI components and design-system packages into product features.
Technical approach
- Built on the shared UI components and design-system packages already in the monorepo.
- Fixed the stale-state bug, then added component tests covering the behavior so it stays fixed.
- Ran TypeScript and ESLint checks to keep changes consistent with codebase standards.
Architecture and tools
- React.js
- TypeScript
- Next.js 15 Pages Router
- TanStack Query
- Tailwind CSS
- TurboRepo
- Jest
- Storybook
Challenges
- Joining an established codebase and working within its standards.
- Tracing a selection state that outlived the edit modal it belonged to.
Outcome
- The stale-state bug in bundle personalization was fixed and is covered by component tests.
- Reusable cart components delivered for cart and checkout features.