Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I created a metafield for customer objet, this is fine, I can edit it through the Shopify Admin portal.
But I want to offer the possibility for a customer to fill in this information during account creation to retreive it in the customer information page in admin center.
I tried to edit the main-register.liquid file, with no luck
<div class="field">
<input
type="text"
name="customer[Siret]"
id="RegisterForm-Siret"
placeholder="{{ 'customer.metafields.custom.siret' | t }}"
>
<label for="RegisterForm-Siret">
{{ 'customer.metafields.custom.siret' | t }}
</label>
</div>
anyone can help ?
thanks
Mathias
Solved! Go to the solution
This is an accepted solution.
Hello @Mati7777777
Unfortunately, we have strong limitations in Shopify's default registration form
Proof: https://heliumdev.com/blog/shopify-create-custom-registration-form
We can avoid these restrictions only with API calls or external apps usages:
Create customer by API (https://shopify.dev/api/admin-rest/2022-04/resources/customer#post-customers)
External app example (https://apps.shopify.com/advanced-registration)
This is an accepted solution.
Hello @Mati7777777
Unfortunately, we have strong limitations in Shopify's default registration form
Proof: https://heliumdev.com/blog/shopify-create-custom-registration-form
We can avoid these restrictions only with API calls or external apps usages:
Create customer by API (https://shopify.dev/api/admin-rest/2022-04/resources/customer#post-customers)
External app example (https://apps.shopify.com/advanced-registration)
Ok many thanks !
Hey @Andrei_Kuchuk and @Mati7777777,
I just stumbled on this thread and saw Andrei linked to my blog post. Thanks! 😊
We built the Customer Fields app to solve this problem exactly. Every custom field you collect using Customer Fields will save to customer metafields in Shopify. The app automatically adds metafield definitions within Shopify for each custom field you add to your form. You'll probably want to pin those metafields as well.
You can also collect standard Shopify fields like company_name, default_address, or tax_exempt and the data will sync with the customer records in Shopify. Furthermore, you can install an "edit account" form within the customer account area so that logged-in customers can edit certain information (you can choose what to let customers edit).
I'm a bit late here 😅 However I thought I'd mention that last year I built a niche app (FieldsRaven) for theme developers to make creating/updating metafields possible on any step of the customer journey.
Your use case is a good fit for the app, I assume that you're comfortable working with code, in that case it should be really simple. Here is the quick start guide.
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