Table of Contents
Requirements
- Users should be able to add items to a shopping cart
- Users that are not signed in will have an “anonymous cart”
- Users that sign in with an anonymous cart will transfer the items to their “personal carts”
- Users should be able to checkout and make payment for added cart items
- After checkout, an order should be placed with the items
- Users should be able to view a list of their respective orders
Cart Transfer
A cart transfer happens when a user with an anonymous cart signs in. The personal cart is updated with the items from the anonymous cart. Items from the anonymous cart are appended to the personal cart to preserve the user’s previous signed in session.
Design Notes
I have broken this up into 3 parts
- Cart Feature
- Payment Feature
- Order Feature