Unable to save phone number with customer during new registraion

Topic summary

A Shopify developer is encountering an issue where phone numbers entered during customer registration are not being saved to the customer object, despite adding a phone number input field to the registration form.

Current Status:

  • The phone number field displays correctly on the registration form
  • Field uses the correct naming convention: customer[phone]
  • Upon form submission, the phone number field remains null in the admin panel

Suggested Solutions:

  • Verify the phone input field is wrapped within proper <form> tags
  • Ensure the form’s action attribute points to the appropriate Shopify customer creation URL
  • Consider using a third-party app like Helium Customer Fields as a no-code alternative for custom registration fields

Discussion Outcome:
The issue remains unresolved. The original poster has tried the suggested code modifications but continues experiencing the same problem. Another user has reported encountering the identical bug, indicating this may be a broader technical issue requiring further investigation.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

I am trying to save phone number field with customer during new registration but its not getting saved with customer object. I have added following code to registaion page:

<div class="field">
        <input
        type="text"
        name="customer[phone_number]"
        id="RegisterForm-Number"
        autocomplete="family-name"
        placeholder="Phone Number"
        >
        <label for="RegisterForm-Number">
        Phone Number
        </label>
    </div>

Some ideas:


In Shopify, the customer object is automatically created and handled by the platform, so you don’t need to create a separate customer class or save it to a database manually. The phone number field is mapped to the customer[phone] attribute.

Make sure that the code is placed within a tag and that the form’s action attribute points to the appropriate URL for form submission.

Once the customer submits the registration form, Shopify will handle the customer creation process and save the phone number provided by the customer to the corresponding customer object in the Shopify system.

Hey @monika_mni !

If you are still having trouble with this, you may also want to consider using an app such as Helium Customer Fields which allows you to create custom registration forms to collect information like phone number, address, and more! Our app is a no code solution, so you can just drag and drop fields to create your form.

Feel free to let me know if you have any questions :blush:

Hi @Josh_Uebergang

Thanks for your response!

I updated the same code provided by you in my main-register.liquid, it displays the phone number field in the form but on submission i am sill getting null in phone field in admin panel.

My store URL: https://flow-test-store-101.myshopify.com/
Password: gianig

Hello @Josh_Uebergang

Hope you had a great weekend!

I am still unable to save phone number with customer data. Can you please help and suggest something.

Hi @monika_mni
I am also facing the same bug. have you fixed it yet? can you tell me how to fix it?
Thanks