As a user I would like to add products to my cart even though I'm not logged in so I can still buy products as a guest.
This will require us to create a "temporary" cart in the database using the req.session id
when the user logs in, a search for their 'registered' cart is made. if there are any differences we add those to their 'registered' cart.
As a user I would like to add products to my cart even though I'm not logged in so I can still buy products as a guest.
This will require us to create a "temporary" cart in the database using the req.session id when the user logs in, a search for their 'registered' cart is made. if there are any differences we add those to their 'registered' cart.