How to add birthday, gender fields to the customer registration form in Shopify

You can add more fields to your customer registration form to collect custom information from your customers when they sign up for an account. Specifically here is birthday, gender fields.

To add custom fields to your theme’s customer registration form:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. In the Templates directory, click customers/register.liquid.
  4. Find the following Liquid tags in the code:{% form 'create_customer' %} and {% endform %}
  5. The customer registration form code is between the Liquid tags that you found in the previous step. This is where the default form fields are found, with each field separated by an empty line. Every theme is different, but a customer registration form field looks similar to this:
  6. You will paste the code for birthday and gender fields before, after, or in between the existing fields, depending on your preference.
  7. After you have added the code for your fields, click Save.

DEMO

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *