Open NickMaslov opened 6 years ago
...you may use sessionStorage, localStorage, cookies or JWT for Cart (user story) We do not need use a database table!
Cart (due Code Review 2)
Customers have a cart they can put stuff in while they shop Customers can see their order history 🌟Customers always have their cart, on any device
CART ...add items to my cart from the product listing or product detail pages, so that I can purchase them later ...remove items from my cart, in case I decide I don't want an item anymore ...edit/remove quantities of items in the cart, in case I decide I want more or less of a particular item ...refresh the page and have the cart persist, so that I don't lose my work (you may use sessionStorage, localStorage, cookies or JWT for this) ...be able to log in to my account and continue editing that same cart, so that I don't lose any progress I made before I logged in