How to add phone number in customer sign up page Refresh theme?

@Saminusa

Certainly! To include a phone number field in your customer sign-up page and enable account verification through phone numbers instead of emails on a Shopify theme, follow these steps:

  1. Adding the Phone Number Field:
  • Log in to your Shopify admin panel.
  • Access the “Online Store” section and choose “Themes.”
  • Click on “Actions” for your current theme and select “Edit code.”
  • Locate the template responsible for customer registration, commonly found in the “Sections” or “Templates” folder.
  • Open the relevant file (e.g., register.liquid, create-account.liquid, etc.).
  • Insert the following HTML code to add a phone number field:
    html
    Phone Number
  • Save the changes made to the file.
  1. Enabling Phone Number Verification:
  • Shopify doesn’t natively support phone number verification, so you’ll need a third-party app from the Shopify App Store for this purpose.
  • Choose an app that provides phone number verification during account creation (e.g., SMSBump, Voodoo SMS, Vonage, etc.).
  • Install the app and follow their setup instructions for integrating phone number verification into your signup process.
  • Configure the app’s settings to enable phone number verification for customer accounts.
  1. Adjusting Account Creation Flow:
  • After installing the third-party app:
  • Follow the app’s guidelines to configure phone number verification for new customer accounts.
  • Review the app’s documentation for any code adjustments needed in your customer registration template to initiate the phone verification process. The app will likely provide guidance on this.