Hello Arbin D
For the first requirement, I can implement a “Login/Register” popup instead of redirecting to the default login/registration page when a user selects “My Account” without being logged in. After login, the user will be directed to the default “My Account” information page.
Regarding the second requirement, I will remove the default login and register tabs from the top of the checkout page. Instead, I will introduce a new tab or prompt that reads “If you already have an account, please login.” The user will remain on the checkout page after logging in, with their details automatically filled in the checkout fields.
As for the third requirement, within the login/register popup, I will prompt users to log in using their phone number by default. Additionally, I will include an option to “login with email instead” below the phone number field. When clicked, an input field for the email address will be displayed. If a user attempts to log in with a phone number or email not found in the database, they will be redirected to the account registration page with the phone number or email pre-filled.
Finally, I will integrate the existing customer database to ensure that returning customers are recognized and logged into their existing account when they log in with their phone number or email.
These functionalities will seamlessly integrate with your existing website and database structure without altering the specified flow.
Looking forward.
Best regards,
Imran K