Helpcenter +918010117117 https://cdn.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Login via mobile number

Available in Premium Plan and above.

Scenario

You want to provide user login with the phone number instead of email. Also, there should be user verification through mobile via OTP on registration. How to provide that?

Example

Steps

StoreHippo allows your customers to log in to your store via mobile number. If you enable login via phone in your store, your customers don't need an email id, and they can log in to your store through a phone number. To do so, first, you need to enable user verification and provide login field as phone in User Settings and provide fields in Register and Login formsFollow the below-mentioned steps to enable login via mobile number:

User Settings

  1. Go to Settings > User Settings section in StoreHippo Admin Panel.

  2. Select the User Verification Required checkbox. 

  3. Select the "Phone" as Verification Method.
  4. Scroll down to the Login FieldSelect Phone to log in via phone number.
  5. Click on the Save button to save the user settings. 

Form settings

  1. Go to Site > Forms section in StoreHippo Admin Panel.

  2. Select the Registration Form.

  3. The registration form appears as shown below by default. Click on Add field to add a new field for the mobile number.
  4. Enter Field label as "Mobile Number", Field name as "phone" and select Type as "Phone".
  5. You can drag the Mobile Number field and place it anywhere in the form. 
  6. Click on the field settings and select the required checkbox. 
  7. Save the form.
  8. The registration form appears as shown below on the storefront.
  9. When your customers register by entering all the details in the registration form, an OTP is sent to their registered mobile number for verification. They are required to provide the OTP in the verification form given below:
  10. Now, go back to Forms and select the login form
  11. The registration form appears as shown below by default.
  12. Replace "email" field name with "username" and Type as "Phone".
  13. Save the login form changes.
  14. The login form appears as shown below on the storefront.
  15. Your customers can now log in with the phone number in your store.
2020-11-27T12:41:13.936Z