I’m trying to allow users to fill a shopping cart prior to logging in or signing up.
Currently I have a Page of type Shopping Cart and crate a new object and link it.
Once a user logs in/checks out, I link the Shopping cart to the logged in user.
But if the user doesn’t log in (abandons the cart), the data lives on orphaned in the DB. So I wanted to create a “session” that would expire and I could create a workflow to delete orphaned carts. Deleting orphaned carts arbitrarily could affect people still using the app but not logged in.
Anyone have any ideas or doing something to achieve this?
Is it safe just to look at “modified” timestamp?
After some reading, I have found that a user thing is created prior to log in. Are these deleted every so often? Can I link to those users and delete the linked things with them?