- [ ] For each product NOT in cart - [ ] Create add-to-cart button - [ ] Up to you if you want this to increment previously-existing product quantity. - [ ] Up to you if you want this to increment previously-existing product quantity. - [ ] For each product CURRENTLY in cart - [ ] Create remove-from-cart button - [ ] Create edit quantity drop-down - [ ] Add Cart persistence - [ ] (DONE in Review 2 above) for authenticated (logged in) users, using the database. - [ ] for unauthenticated (guest) using localStorage. - [ ] bonus: add ability to "merge" the localStorage cart with the database cart once a user logs in.
increment previously-existing product
quantity.
increment previously-existing product
quantity.
authenticated (logged in) users, using the
database.
localStorage.
localStorage cart with the database cart
once a user logs in.