How can I add a custom field to a customer record?

Hello,

The default customer record only contains First and Last name fields, there is no field for a business name.

Does anyone know a simple way to add a custom field to the customer record. One would think Shopify would have this field as a default but it is not.

1 Like

Hi @Chinense ,

You can use the customer note to collect additional information. You can read the documentation here

To add the code, you need to find the section for customer form. Then add the HTML below inside the form


    
    
  

You can refer to the code below

Thank you so much for offering this fix. I will try it after lunch and report back.

We are trying to make it a new field in the Shopify admin to host information, not a note. Would you know how to accomplish this?

Hi @Chinense ,

You can view this in your Admin page under customer. See image below. Unfortunately, as mentioned here, this is Shopify’s solution for additional information for customers. As of now, we do not have other way to implement this in the Shopify Admin

Hi future readers,

We created an enhanced Shopify UI elements generator tool that works on product page, cart page, and also the contact form. This is easy to use, no code needed, and the good part is, it is FREE. You do not need an app to do this, as long as you have Shopify 2.0 FREE themes. You can see this information entered in your Shopify admin as well.

Please check the video below

Hello I want to create a one How Did You Hear About Us? Dropdown fields add save this fields into the metafields so can you provide me the proper information’s about this Namespace and key - custom.hear_about So help me on this how to create save this fields into metafields?