We Cannot Add Phone Field to Login Page
-
The login URL is shopify.com/authentication/… — this is Shopify’s server, not ours
-
Our store is on New Customer Accounts which uses OAuth2 (same as Google/Facebook login)
-
Just like you cannot add a field to Google’s login page, we cannot add a field to Shopify’s login page
-
Our theme files login.liquid / login.json are completely bypassed — Shopify never loads them for login
-
Even Shopify’s own developers cannot customize this page — it is locked by design
-
The page is not inside our theme — it does not appear in the Theme Editor or Edit Code section
What We CAN Do Instead
-
Switch to Classic Accounts → gives full code control → phone field added in 10 minutes
-
Add phone field on Register page → collected when customer creates account
-
Add phone field on Account page → collected after customer logs in
-
Install a Shopify App → OTP Login apps support New Customer Accounts
1 Like
Hey @Bhoopendera_Mewada
Thanks for putting this together. Your explanation of how the new customer accounts login page works is accurate. The sign-in page at /authentication/ is Shopify-hosted, so it can’t be customized with Liquid or theme code. That’s a documented limitation noted in the customer accounts upgrade guide.
One thing worth noting is taht legacy (classic) customer accounts are now deprecated. Switching back to classic for Liquid control over login isn’t a viable path anymore, so workaround #1 in your list is outdated. We recommend upgrading to the new version of customer accounts. More on the deprecation and what’s changed here:
Thanks again for sharing your findings. Wanted to make sure anyone reading this knows the classic accounts route is being phased out so they can plan around it.
Hi @KyleG-Shopify,
Thanks for the clarification and for pointing out the deprecation of legacy customer accounts — that’s helpful for planning the right approach going forward.
Just to confirm, since the login page under the new customer accounts cannot be customized, is there any supported way to make the phone number a required field within the customer account flow?
For example:
-
Can we enforce collecting a phone number on the account/profile page (similar to how name fields are handled)?
-
Or is there any recommended approach from Shopify to ensure phone numbers are captured for all customers using the new customer accounts?
Appreciate your guidance on this.
Thanks again!
Hey @Bhoopendera_Mewada, in your checkout settings, you can set a shipping number as required. That would ensure at minimum there is always a phone number captured.
Another option, if you have contact forms in your theme, you can make phone a required field, so the customers created as a result of that will have a phone number attached.
Hope that helps.
1 Like