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 
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