Hello. I’m new here and i need help as i don’t really know liquid codes. Currently, i’m using Empire’s theme for our store. We want to add a phone number fields in customer create account and it is compulsory. I asked Empire’s theme support and they can’t help me with that. We just started this store and really don’t have budget to hire shopify expert. Can anyone help me solved this?
Topic summary
Core Issue:
Merchants want to make phone number fields mandatory during customer account registration on Shopify, with data properly saved to the customer record (not just notes).
Technical Challenge:
Shopify’s API has limitations—custom fields added via theme code typically save to customer notes rather than the actual phone number field. This prevents:
- Phone numbers appearing in the standard customer profile location
- SMS notifications being sent to customers
- Proper data synchronization with Shopify admin
Attempted Solutions:
- Manual code approach: Users tried adding HTML input fields to
customers/register.liquid, but data saves to notes instead of the phone attribute - Checkout settings: One user suggested requiring phone numbers at checkout via Shopify settings (Settings → Checkout → Form Options)
- Formatting issues: Phone numbers may need E.164 formatting for Shopify API validation
Recommended Solution:
Multiple participants recommend the Customer Fields app (Basic/Lite plan, $12/month), which:
- Adds phone number fields to registration forms
- Syncs data properly to Shopify’s customer phone field
- Allows marking fields as required/optional
- Works across all themes
- Does not support phone verification (email verification only)
Status: No free, code-only solution confirmed working; app-based approach appears necessary for proper data handling.
Hi,
- Go to Online Store->Theme->Edit code
- Templates->customers/register.liquid->paste bellow code after password field or where you want it
<label for="register_phone_number" class="form-field-title" >Phone Number</label><br />
<input
type="text"
class="form-field-input form-field-text"
id="register_phone_number"
name="customer[note][phonenumber]"
value=""
/>
And if you need validation in it you can try html attribute required or custom JS
Thanks
Thanks for your reply, I already try it and it save the phone number in customer notes.
It should appeared in here.
It also didn’t appeared in my account page.
This is the code from Flits Account Page Snippet..
<div class="flits-row flits-m-t-15">
<div class="flits-col-md-6">
<label>{{ 'flits.profile_page.contact_no' | t }}:</label>
<label class="flits-hide-profile-edit">{{ customer.phone }}</label>
<input type="text" name="phone" class="flits-hidden flits-hide-profile-cancel" value="{{ customer.phone }}">
</div>
</div>
Please help me .
Anyone seeing this? Please help me solve this problem.
Hi, have the same problem here.
Seems quite awkward to store a phone number as a note since there is a customer field for this information. Beside this, if you store the phone number as a note Shopify will not send sms notifications to the customer.
Has anyone a solution to this? Should be quite straightforward to do, but all I tried didn’t functioned.
Thanks
Login to your shopify accounts. Bottom left is the shopify settings icon (the gear) click on that. Select checkout link to modify your checkout settings.
This is where you set you account requirement settings. Scroll down to form options. Select shipping address phone number as required. It will require a phone number to checkout whether or not you require an account to checkout/buy from you.
Cheers
Hello guys i was also struck into the same problem Customer additional field are saving in admin as a note not as a attribute then i saw a app called Customer Field i am always against using app but i still watch its video he explain that shopify doesn’t allow us to collect additional data other than a name and email You can check the video here .
Note:I am not promoting app but a solution he explain in a video
I’m Michael from Helium, maker of the Customer Fields app. Customer Fields is an ideal solution for adding a customer registration form phone number field.
On the app’s Basic tier, you can add any of the default Shopify fields (including phone number, accepts_marketing, address fields, etc.) and the data will sync with the Customer page in your Shopify admin. Furthermore, you can mark the field as required (compulsory) or optional depending on your own needs.
It works with all themes, and you can even choose to install your registration form(s) on different pages other than “account/register/” if needed.
If you need to add custom fields such as date of birth, image uploads, etc. there are more fields available on the Pro plan. For more information about why an app is required for saving custom data to a customer record in Shopify, see this thread.
No one managed to make customer phone number compulsary during account creation yet?
@XxDrAg0nxX if that’s all you need to accomplish, then the Customer Fields app’s Basic plan is all you need. You can add the phone number field to your store’s registration form and mark it as required. The data is synced to Shopify’s phone number data key and visible on the Customer page in your Shopify admin (not in the Customer Note).
Hi,
I think it’s a little late, but I have something that might help.
Go to: Store->Themes
On your theme select Actions->Edit Code
Under Templates open customers/register.liquid.
and paste this code anywhere under
Save and go to Locals then open en.default.json (or your website default language file)
look for register (Ctrl+F then type register) and add the new parameters with their translations.
To show the mobile number on the account page:
Under Templates open customers/account.liquid. and add this code:
{{ 'customer.account.phone' | t }}
{{ customer.phone }}
Hey @Zakfdl22 ,
Your solution looks very promising, but it doesn’t seem to work…
When adding such field to the registration form, the value isn’t saved anywhere in the customer record.
Shopify seems to ignore any field that is not a note.
Can you clarify your solution?
Thanks,
Amos
I’ve not tested this but Shopify not saving the number could be related to validation.
The shopify API requires phone numbers to be formatted E.164 I believe and if you submit anything else it rejects it.
I’m using this code this code to display contact no on edit customer page but its not working:-
{{ ‘customer.register.phone’ | t }}
Dear Michael, does Costumer Field allow for phone number verification? Can we connect a local service for sending SMS with a verification code?
Hi @RobMW , sorry I missed this. We don’t offer phone number verification in the app, just email verification.
Please give me the way how can i use this app to register phone number and company name.I am urgent.Thank you.
@Zeliana - you can install Customer Fields and use the drag-and-drop form builder to add phone number and company name. You can do this on the Lite plan for $12/month.
After you install the app, our support team can help from there!





