Magento 2 Mobile Login

advertisement
1.
2.
3.
4.
5.
Extension Installation
Configuration
API Settings
OTP Custom SMS Settings
Mobile Login in Frontend
Mobile Login for Magento 2
© Meetanshi.com
1. Extension Installation
• Extract the zip folder and upload our extension to root of your Magento 2 directory via
FTP.
• Login to your SSH and run below commands step by step:
o composer require twilio/sdk
o php bin/magento setup:upgrade
o For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
o For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy–f
o php bin/magento cache:flush
That’s it.
2. Configuration
For configuring the extension, login to Magento 2, move to Stores → Configuration→Mobile
Login where you can find various settings to enable the extension.
•
•
•
Mobile Login: Enable the Mobile Login extension.
OTP Type: Set the OTP type from the drop-down menu.
OTP Length: Set the OTP length.
Mobile Login for Magento 2
© Meetanshi.com
3. API Settings
Configure the API settings using the details received while registering with the SMS gateway:
•
•
•
•
•
API Provider: Select API provider to integrate the extension with the preferred SMS
gateway to send SMS.
Sender ID: Add the sender ID.
Message Type: Select the message type to be sent to customers from the drop-down
menu.
API URL: Add the API key received while registration with the SMS gateway.
Authorization Key: Add authorization key received while registration with the SMS
gateway.
Mobile Login for Magento 2
© Meetanshi.com
4. OTP Custom SMS Settings
Configure the following OTP SMS settings for Mobile Login for verification with OTP.
•
•
•
•
Login with OTP: Enable customer login with OTP.
Login OTP SMS Text: Enter SMS text to send OTP for login.
Registration with OTP: Enable customer registration with OTP.
Registration OTP SMS Text: Enter SMS text to send OTP for registration.
•
•
•
Forgot Password with OTP: Enable reset password with OTP.
Forgot Password OTP SMS Text: Enter SMS text to send OTP for reset password.
Update Mobile Number with OTP: Enable customer mobile number update with OTP.
Update Mobile Number OTP SMS Text: Enter SMS text to send OTP for customer
mobile number update.
•
Mobile Login for Magento 2
© Meetanshi.com
5. Mobile Login in Frontend
• Registration with OTP from frontend
After configuring the OTP settings, the users can register an account using mobile number
after OTP verification, as shown here.
Mobile Login for Magento 2
© Meetanshi.com
•
OTP SMS for Registration
When a user registers with mobile number, a verification SMS having OTP is received to
enter OTP for registration and verify the mobile number.
•
Mobile Number Verification Using OTP for Registration
The user can verify the mobile number using OTP for registration or opt for OTP again.
Mobile Login for Magento 2
© Meetanshi.com
•
Mobile Number Verification Using OTP for Login
The user can login using mobile number after OTP verification as shown in the image
below. The Forgot Password button can also be used to reset the password in case of the
password is forgotten.
•
OTP SMS for Login
The OTP SMS is sent to user for mobile number verification for login as shown below:
Mobile Login for Magento 2
© Meetanshi.com
•
OTP SMS for Forgot Password
The OTP SMS is sent to user for mobile number verification to reset password when he
opts for the forgot password button.
•
OTP Verification for Forgot Password
The following screen shows the verification of mobile number for resetting the
password.
Mobile Login for Magento 2
© Meetanshi.com
•
Reset Password
Once the mobile number is verified, the user can reset the password as shown here.
•
Mobile Number Update from My Account
The user can add or update mobile number from their My Account section under Mobile
Number tab. Add mobile number and click Send OTP to get verification OTP message,
and it’s done.
Mobile Login for Magento 2
© Meetanshi.com
•
OTP SMS for Mobile Number Update
The added or updated mobile number is to be verified using OTP received via SMS as
shown below:
•
Mobile Number Update Success Message
The success message for the mobile number update is displayed in the My Account
section after the mobile number verification.
If you have any question or need support, Contact us at https://meetanshi.com/contacts/
Mobile Login for Magento 2
© Meetanshi.com
Download
Related flashcards
Business

28 Cards

Labor

14 Cards

Business

36 Cards

Tourism in Greece

43 Cards

Labor

14 Cards

Create flashcards