Additional info in account registration form

David_Yamnitsky
Shopify Partner
2 0 0

Hi,

When a customer registers a new account on my shop, I would like to collect their phone number in addition to their name and email address. Any idea if this is possible? Perhaps it is possible to add metafields to the form? I know that products can have properties set before adding them to the cart, but is there anything similar for customers?

Thanks 🙂

Replies 6 (6)
Keegan_T
Shopify Staff
Shopify Staff
195 0 22

Hello David,

Keegan here from the Shopify Guru team.

Great question, and totally possible! There is a document linked below that will do exactly that, add fields (more information) to your customer signup page.

Although it will not create any new fields within the admin area of Shopify (not possible) it will place all this information in the notes of your customers account.

https://help.shopify.com/themes/customization/communication/get-more-information-with-customer-regis...

Thanks for your post 🙂

Keegan | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

newwavealex
New Member
3 0 0

Can you provide relevant codes
for example:
Add a field in the registration page is the phone number

David_Yamnitsky
Shopify Partner
2 0 0

Thank you so much Keegan, this is perfect! 🙂

Mayank_Jain1
New Member
1 0 1

How about just adding fields that are already part of the shopify backend - like address?

I would like to ask for a default address - may be just the zip code and phone number - is that possible? Asking only for a phone number? Possible?

I know I can do customer[accepts_marketing] -- but customer[addresses][0][phone] does not seem to work. 

Please advise.

MWeb_Solutions
Tourist
10 0 16

RELATED POST:
https://ecommerce.shopify.com/c/ecommerce-design/t/collect-address-on-registration-368214

Shopify has not answered this question? This is a very common use case.

  • Yes, there is an app.
  • No, we dont want to use it. 
  • Yes, we are Shopify Experts
  • Yes, this is a simple use case
  • Yes, this is a very common question
  • It seems no-one will answer this directly.
  1. Is it possible?
  2. If so, what are the exact "[name='xxxx']" attributes to use.

 

I am assuming Shopify is protecting App vendors here. They will have a market for people that want point and click. And if not, let the market decide if it is a good app. If its solving a real problem. If its in demand. And if none, of those - unfortunately, thats unlucky. Perhaps you just reinvented the wheel - or not.

 

unless bugs, we've tried:

customer[default_address][..]
customer[addresses_attributes][0][..]

michael-helium
Shopify Expert
292 3 148

@MWeb_Solutions kind of hit the nail on the head here.

Shopify has not answered this question? This is a very common use case.

  • Yes, there is an app.
  • No, we dont want to use it. 
  • Yes, we are Shopify Experts
  • Yes, this is a simple use case
  • Yes, this is a very common question
  • It seems no-one will answer this directly

This post is the best I've seen anywhere to explain why an app is the best way to handle saving data to a customer's account.

Is it a simple use case? Yes. Should Shopify offer better support for this? Perhaps.

But that's why we built the Customer Fields app-- so that merchants with no coding experience can request additional info from customers in account registration. We also built Customer Fields so developers can build custom forms and solve merchants' problems more quickly (and therefore inexpensively).

Michael, COO @ Helium
- Customer Fields ✪✪✪✪✪ (285 reviews)
- Meteor Mega Menu ✪✪✪✪✪ (229 reviews)