Best approach to separate authenticated users from guest users #1177
-
Hi there, What would be the best way to separate logged in users from guest users? Because in a users table an email address should be unique. I currently use the users table to store the authenticated users. Would a separate column for the guest users e-mail address be a good idea for this? Or maybe not even store the customer in a separate table at all but only in the order itself? |
Beta Was this translation helpful? Give feedback.
Answered by
duncanmcclean
Nov 18, 2024
Replies: 1 comment 3 replies
-
When you say "authenticated users" and "guest users", what do you mean. Where are authenticated users authenticating - in the Control Panel? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm assuming you're using the
UserCustomerRepository
? I don't think there's a way right now for some users to be stored in one place, with others being stored elsewhere. 🤔In the next version of Simple Commerce, all customers will be stored as users, with the option to have guest customers who just live on the order. Guest orders will then be converted to user orders if a user registers for an account.