Brooklyn - added phone to customer registration form but can't see the information

Hi. This is my website: aysebener.com

I am using Brooklyn theme and added a custom field, phone number, to my registration form. But I can’t locate where to display user phones in the admin panel. This was the original liquid snippet for the form:


      {% form 'create_customer' %}

        {{ form.errors | default_errors }}

        
        

        
        

        
        

        
        

        

          
        

        {{ 'customer.register.cancel' | t }}

      {% endform %}
    

I have added this snippet right after the email field.


        

The form works fine, accepts new users but the problem is I can’t find out where the phone number information is.

1 Like

@abener

Your name should be like this “customer[note][phone]”. You must use a note in order to add this field in the admin.

Hope this works.

Thanks!

It worked, thanks! Is there any way to require area code in this field? Right now I can type in any numbers and sign up.

1 Like

@abener

Well, I don’t have an idea about area code and I think for the area code you have to put the field separately and use js code to validate area code because no one can put anything in it.

Hope this helps.

If helpful then please Like and Accept Solution.

Isn’t there a way to add the phone number to the phone number field in Shopify, instead of using notes?

2 Likes