phone number from newsletter popup not showing in customer info

Hi, I added a phone number requirement to my newsletter popup but the phone number is not showing up in the customer’s info once they sign up.

This is the code I’m using:


I’ve tested in out many times and while all the other info shows up fine, the phone number is not showing up at all in the admin.

What am I doing wrong?

Thanks

Hi @rony !
In you case seems like the phone number might not exist in customer if this field not required for sign in process.
The another possible reason in showing popup. If the popup displays for all users, they can be not logged in to the store so Shopify object {{ customer }} will be empty in such case.

1 Like