Custom password page form not sending phone number to customer info

Solved

Custom password page form not sending phone number to customer info

jairet
Tourist
4 0 1

I added custom code to include first name, last name, and phone number along with the standard email field on my password page. 

First and Last name are passing through to customer info in my admin panel, but phone number won't go through. I've tried a couple little tweaks but it never works. 

I didn't see any relevant replies or resolutions to this query so I'm hoping someone has an answer to this without it being a "but my app" answer. 

Accepted Solution (1)
Brett_Helium
Shopify Partner
263 48 114

This is an accepted solution.

Hey @jairet! Unfortunately it's not currently possible to set a customer phone number directly through the front-end by adding a form input.

 

One option for this would be to store the phone number into the customer note. You can check out this reference guide for some info: https://shopify.dev/docs/storefronts/themes/customer-engagement/additional-customer-information

 

The other option would be using an app such as our Helium Customer Fields app to collect any information you want and have it stored directly into the native Shopify fields such as for contact phone number, or into customer metafields for any custom data you want to collect, for example birthday or gender.

Brett | Helium
Helium builds apps that thousands of merchants depend on:
- Customer Fields ✪✪✪✪✪ (350+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (280+ reviews)

View solution in original post

Replies 6 (6)

Moses18
Shopify Partner
4 0 0

Have you tried using another number to test?

You can as well leave it for a day or two, then login on your browser,  then give it a shot again.

jairet
Tourist
4 0 1

Yeah, I tested with multiple different phone numbers just using the correct number of digits. I also tested on mobile with a different number and that didn't work either. 

Moses18
Shopify Partner
4 0 0

Oh I see. Adding a phone to your account isn't compulsory on Shopify. The major is your email and strong password.

I'll just advice you leave that for now. In as much you have a strong password with email, then your Shopify admin account is safe. You can always add your number some other time.

I hope you understand.

Btw, have you listed any product to your Shopify store yet?

jairet
Tourist
4 0 1

I think you misunderstood. I am not referring to a login page. I am referring to the my store's password page – the page shown instead of taking visitors to the store. I enabled "site password" in Shopify because I'm not ready for customers to access the store.

I haven't launched products yet, they are still being manufactured. In the meantime, I am collecting customer info via the password page, which comes with a standard email capture. I added first name, last name, and phone but phone isn't passing through to the costomer info in admin panel. 

Does that make sense?

First and last name pass through so I am not sure what it wrong, whether it's the code or just Shopify won't allow it. 

Do you have any insight about this?

Brett_Helium
Shopify Partner
263 48 114

This is an accepted solution.

Hey @jairet! Unfortunately it's not currently possible to set a customer phone number directly through the front-end by adding a form input.

 

One option for this would be to store the phone number into the customer note. You can check out this reference guide for some info: https://shopify.dev/docs/storefronts/themes/customer-engagement/additional-customer-information

 

The other option would be using an app such as our Helium Customer Fields app to collect any information you want and have it stored directly into the native Shopify fields such as for contact phone number, or into customer metafields for any custom data you want to collect, for example birthday or gender.

Brett | Helium
Helium builds apps that thousands of merchants depend on:
- Customer Fields ✪✪✪✪✪ (350+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (280+ reviews)
jairet
Tourist
4 0 1

Touché! That's actually the app I downloaded but was trying to find a free solution. I knew I coded it right so thanks for closing the loop on why this wasn't working.