Reputation: 111
I am using shopify and i find that how we can add extra field in registration form but not done.
I checked here it only add in registration form but when i get value it does not retrieve.
Upvotes: 0
Views: 2511
Reputation: 51
Unfortunately, Shopify does not provide the ability to add extra fields to the registration form that can be viewed after the form is submitted. While they do provide the ability to append information to the customer note through the name="customer[note][key]"
convention, this customer note cannot be retrieved through liquid after the registration form as been submitted.
To get around this limitation, you'll need to leverage a pre-existing Shopify application or write your own application to make server-side calls to the Shopify API. In the past, we've written little functions using serverless.io
to save and retrieve metafields attached to the customer object.
Alternatively, the Shopify app Accentuate (https://accentuate.io/#customer-fields) supposedly has created a workflow to save customer metafields directly from the front-end of a Shopify theme.
Upvotes: 5