Fields needed to create a customer account
The form builder in Customer Fields gives you full control over ALL of the fields that are included in a form. With this much control, it's important to note the following:
If you want customer accounts to be automatically created in Shopify when a user fills out the form, then you need to make sure that you include both the 'email' and 'password' fields on your form.
You can find the email
and password
fields in the 'Standard fields' section of the app's form builder:
Forms without 'email' and 'password' fields
If you create a form without the email
and password
fields, then users can still submit the form and the data will get saved into the app & Shopify. However, unless the user has already logged in to their existing customer account before submitting the form, then the app will create a new customer record in Shopify, and this customer record will not have an account.
Fields needed to submit a form
Since the Customer Fields app is designed to send form data over to Shopify, and Shopify requires certain fields when creating a customer record, each registration form you create in the app should have at least one of the following fields:
First name
Last name
Email
Phone
Forms without a 'first name', 'last name', 'email', or 'phone' field
If a user tries to submit a form without at least one of the fields listed above, and they are not already logged in to a customer account, then they will get an error that reads "Base customer must have a name, phone number or email address".
To be clear, existing customers who have logged in to their account will not see this Shopify error when submitting the form - it's only users who have yet to register for an account (or have not logged in to their account) that would receive this Shopify error.
To avoid this potential error altogether when submitting forms, we suggest using at least one of the required fields (first_name
, last_name
, email
, or phone
), which will satisfy Shopify's minimum requirements for customer records.
Have questions? Need help?
Please contact us via chat or email and we'll be happy to assist 👍