custom register page

Topic summary

A user customized their registration page by adding new fields (phone number, commerce registry, office name, and address) but the additional information isn’t being saved to customer accounts.

The Issue:

  • Custom fields were added to the registration form template
  • Standard fields (first name, last name, email, password) work correctly
  • New custom fields (tel, registre_de_commerce, nom_du_officine, addresse) don’t persist after submission

Solution Provided:

  • Additional customer information must be stored as customer notes, not as direct customer object properties
  • The Shopify documentation “Collect additional customer information” explains the proper implementation method
  • The current code is missing the necessary logic to save custom field data as notes

Status: The issue appears resolved with guidance to follow official Shopify documentation for handling custom registration fields.

Summarized with AI on November 24. AI used: claude-sonnet-4-5-20250929.

i customized my register by adding new feilds in the code but the new information do not get saved
please if any one can tell me if missed any thing

<div class="clearfix form-group">
  <label for="first_name">{{ 'customer.register_form.first_name' | t }}</label>
  <div class=>
    <input type="text" value="" name="customer[first_name]" id="first_name">
  </div>
</div>

<div class="clearfix form-group">
  <label for="last_name">{{ 'customer.register_form.last_name' | t }}</label>
  <div>
    <input type="text" value="" name="customer[last_name]" id="last_name">
  </div>
</div>
              
 <div class="clearfix form-group">
  <label for="email">{{ 'customer.register_form.email' | t }}</label>
  <div>
    <input type="text" value="" name="customer[email]" id="email">
  </div>
</div>
<div class="clearfix form-group">
  <label for="tel">{{ 'customer.register_form.tel' | t }}</label>
  <div>
    <input type="tel" value="" name="customer[tel]" id="tel">
  </div>
</div>
<div class="clearfix form-group">
  <label for="registre_de_commerce">{{ 'customer.register_form.registre_de_commerce' | t }}</label>
  <div>
    <input type="text" value="" name="customer[registre_de_commerce]" id="registre_de_commerce">
  </div>
</div>

<div class="clearfix form-group">
  <label for="nom_du_officine">{{ 'customer.register_form.nom_du_officine' | t }}</label>
  <div>
    <input type="text" value="" name="customer[nom_du_officine]" id="nom_du_officine">
  </div>
</div>

<div class="clearfix form-group">
  <label for="adresse">{{ 'customer.register_form.adresse' | t }}</label>
  <div>
    <input type="text" value="" name="customer[adresse]" id="adresse">
  </div>
</div>
<div class="clearfix form-group">
  <label for="password_1">{{ 'customer.register_form.password' | t }}</label>
  <div>
    <i class="file_eye_el"></i>
    <input type="password" value="" name="customer[password]" id="password_1">
  </div>
</div>

<div class="clearfix form-group">
  <label for="password_2">{{ 'customer.register_form.confirm_password' | t }}</label>
  <div>
    <i class="file_eye_el"></i>
    <input type="password" value="" id="password_2">
  </div>
</div>

Hi @smart_pharm

Please have a look at the documentation “Collect additional customer information” which you can find here: https://shopify.dev/themes/customer-engagement/additional-customer-information

It mentions, that additional information must be stored as a customer note. It seems like this is missing in your code.

Best Regards,

Dominic

1 Like