We’re currently experiencing a high volume of inquiries and our response time could be up to 2 days. We apologize for the delay, and thank you for your patience. Our available time: 2 AM - 1 PM (Monday - Friday) (UTC+0 Timezone).
I have added phone number while a customer registering.
Now want to login with phone number or email address.
Now could tyou please tell me where is the script where I can set the query like 'Where phone number orWhere email address checking for login. I could not found the exact query file yet.
You need to customize it in platform/plugins/ecommerce/src/Http/Controllers/Customers/LoginController.php. It's using Laravel authenticate trait AuthenticatesUsers.
I have already found and known that you are using Laravel authenticate trait AuthenticatesUsers. and the path is platform/plugins/ecommerce/src/Http/Controllers/Customers/LoginController.php
Before sending you my previous query.
But I found that your are using an and query with email and password. I did not find any scope to add add phone and set the query Where 'email' orWhere 'phone'. Can you help me here?
My customer want to login with phone number or email address.
How can I allow customer or vendor to login with phone number instead of email address?
Please help.
Hi,
Our script doesn't support login by phone number.
You need to customize login form in
platform/themes/martfury/views/ecommerce/customers/login.blade.php
and handle login process in
platform/plugins/ecommerce/src/Http/Controllers/Customers/LoginController.php
I have added phone number while a customer registering.
Now want to login with phone number or email address.
Now could tyou please tell me where is the script where I can set the query like 'Where phone number orWhere email address checking for login. I could not found the exact query file yet.
Hi,
You need to customize it in platform/plugins/ecommerce/src/Http/Controllers/Customers/LoginController.php. It's using Laravel authenticate trait AuthenticatesUsers.
Check this: https://stackoverflow.com/questions/47537191/laravel-login-with-username-email-or-phone
I have already found and known that you are using Laravel authenticate trait AuthenticatesUsers.
and the path is platform/plugins/ecommerce/src/Http/Controllers/Customers/LoginController.php
Before sending you my previous query.
But I found that your are using an and query with email and password.
I did not find any scope to add add phone and set the query Where 'email' orWhere 'phone'.
Can you help me here?
Hi,
Sorry, I don't support on code customization.
As support policy, we won't support customization, we just support our existing code https://codecanyon.net/page/item_support_policy
If you need our customization service for this feature, please pay $30 via PayPal [email protected], our dev team will do it for you.