Handling Guest Users On eCommerce Site
I am currently building the backend of an eCommerce marketplace using Xano. I need to implement the ability for guests to add items to a cart and proceed to payment without the need to create an account. I was wondering what the best practice for this would be.
I was thinking of creating a temp user in the user table which would link to other important tables (cart/transactions/etc.). There would be some implications around when to create this user record, how to handle user records that don't proceed to payments, and saving guest information.
I would appreciate any advice anyone may have on best practice.
Other
2 replies