Allow guest checkout
Closed this issue · 2 comments
ryan3738 commented
Allow guest checkout to improve user experience and allow for items to be added to the cart with no user logged in.
ryan3738 commented
- Create a device id cookie for user if they add an item to the cart but are not logged in.
- When checking out if not logged in ask if they would like to:
- Create an account
- Sign in
- Proceed as a guest
- If they decide to proceed as a guest
- Ask for an email
- Create a user with no password using this contact email
- Log them in
- Once logged in link guest cart items with the logged-in user's cart items.
- Check-out will proceed as normal from this point on.
- If the user tries to log in or create an account with this email address in the future they will have to perform a password reset and will then have access to this account.
ryan3738 commented
Implemented passwordless account sign in to allow for easy account creation