Customer metafields

AI Overview

Customer metafields allow you to customize the information displayed on your customer accounts page, enhancing the user experience for your store. By adding specific code to your theme files, you can show additional customer-related information directly on the account page. To set up customer metafields, log into your Admin panel, navigate to Online Store, and select Themes.

Locate the "customers/account. liquid" file in the Sections section and insert the code {% include 'all-in-one-metafields', metafields: 'customer' %} at your desired position within the file before saving. This will enable the display of customer metafields on your account page.

Following are the steps to set up Customer metafields

  • Show Customer metafield in your customer accounts page needs to insert below code in customers/account.liquid file.
  • customers/account file path: Login into Admin panel-> left side menu select Online store -> select Themes.
  • Now left sidebar load with file list. Check at Sections bottom of the list “customers/account.liquid” file, click on it.
  • Insert below code where you want to show metafield at this position in the file and save it.

{% include 'all-in-one-metafields', metafields: 'customer' %}


For a quick view of all the above step check the below image


customer-metafields