I am setting up new process in my store. I have added a login process without signup. In login page user will put there phone number. After that they will receive an OTP. If the user exists in our customer data they will be redirected to there profile page. If the user doesn’t exist in our customer data I am asking them there email with an email field.
If a user login through the login page they will redirect to account page. I am facing issue while customer place a order through a normal flow by checkout. After placing order if customer tries to login if is showing me a message “user exists. logging in…” which I have added through condition but after showing this message it again redirects me to the login page.