How would you save the shopping cart of a guest user that has left the page and wants to come back later to finish the checkout? (a database with an auto-generated
UUID or create a profile with
password and update once they create an account)
local storage because if they switch to another device all their cart will be empty but it will contain items on the device they used(EX: has 3 items on PC but 0 on mobile for the same user).
Even though these are not very sensitive information like a user's credit card or a user's address some guest shoppers may feel like their privacy is invaded by such features. To save their cart to a database, but at the same time, they would feel that your website is lacking if they come later and find an empty cart.
Also leaving the e-commerce site may come down to some problems they didn't expect like, an electrical problem or an urgent problem came up.
How are you dealing with these dilemmas?(problems)
Thanks for any opinions and discussions on this subject