How does the mobile e-commerce do the shopping cart function when not logged in, and how does the user store the shopping cart information?

how does the mobile e-commerce do the shopping cart function when not logged in, and how does the user store the shopping cart information?

Nov.29,2021

write


local storage store.js


specific analysis.
1. Select cookie as storage if you are not logged in.
2. Select database storage when you are logged in.

Menu