Create New Customer Fields with Shopify Metafields for Customer Accounts Pro

Create New Customer Fields with Shopify Metafields for Customer Accounts Pro

This article will show you how to create new customer fields that your shoppers can fill in when they are logged in so you can learn more about them.

Example form with the customer metafields Birthday month, Age range, Gender, and an example text input:

 

 

Part 1: Create a Shopify customer metafield

  1. Go to Shopify Settings > Custom Data > Customers. You should see a page called "Customer metafield definitions"

  2. Press "Add definition"

  3. Fill in details as required. For example, if you want to collect Birthday month, name the metafield "Birthday month" and the namespace and key "custom.birthdaymonth.

  4. Choose the customer metafield type. This is the format that you will collect your answers in. Customer Accounts Pro supports the following:

    • Type: date, decimal, integer, multi-line text, and single-line text.

    • Options: "One value"

      You can customize further to decide how your members can fill in the field:

      • Minimum value, maximum value, and number of decimal places

      • Limit to preset choices (to make it a multiple choice question)

  5. Choose "Read and write" for customer accounts access, and "Read" for Storefronts access.​

  6. Press "Save."

Part 2: How to select a Shopify customer metafield in Customer Accounts Pro

Go Customer Accounts Pro app. The field you've created should appear in "Add fields."

If you don't see it, click "Refresh," or read the "Unsupported fields" section to troubleshoot your metafield.


Optional: You can configure advanced settings by pressing the field.