Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi. We have some custom input fields on our store's Customer Registration form. We wanted to know whether it's possible to assign a value, that we grab from these custom inputs, into a metafield that we have defined for a Customer?
For example: Let's say there's an input field to capture a customer's favorite flavor for a drink. We want to assign whatever they type on this input to the 'Preferred Flavor' metafield defined for Customers. Then, once captured, we plan on displaying this value on the Account page.
We're looking at ways to implement this manually without using an App. Any suggestions or alternative approaches are highly appreciated. Thank you!
Hi @WECare_Worldwid,
You must use an app for this functionality, either it is a 3rd party app or a custom app because you need the required permissions for updating customer data, which can only be done through an app.
Also, there is an alternate solution in which you can save the additional data in customer notes but you can't display the data on your website.
You can check the link below for more details:-
https://shopify.dev/themes/customer-engagement/additional-customer-information
Please accept our answer as a solution if you find this helpful.
All the best,
CedCommerce
Hi@WECare_Worldwid ,
Saving any information into metafields attracts API call since Shopify doesn't allow any backend code.
So the crux is it's not possible to achieve without an external or custom app.
But you can achieve it via
https://shopify.dev/themes/customer-engagement/additional-customer-information
Hope, it helps
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025