Skip to content

Implement shopping cart page and interactions#16

Open
yortch wants to merge 1 commit into
mainfrom
pr-demo
Open

Implement shopping cart page and interactions#16
yortch wants to merge 1 commit into
mainfrom
pr-demo

Conversation

@yortch

@yortch yortch commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • implement cart page UI aligned to docs/design/cart.png with cart table and order summary
  • add cart state management via CartContext with localStorage persistence and coupon handling
  • wire cart route and navigation links, and connect Products add-to-cart flow to shared cart state
  • add frontend cart calculation and interaction tests using Vitest + Testing Library

Fixes #15

Validation

  • npm run test --workspace=frontend
  • npm run build --workspace=frontend

Notes

  • excludes unrelated local change in api/src/routes/order.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement shopping cart page based on docs/design/cart.png

1 participant