Filtering and organizing B2B customer data using metafields
You can filter and organize B2B customer data using company and company location metafields on the Companies page and company details page.
You can filter B2B customer data using the company and company location metafields. You can have up to 50 definitions for each company metafield and company location metafield.
On this page
Before you start
Before you can filter B2B customer data using company and company location metafields, you need to complete the following tasks:
Supported metafield definition types
You can use the following metafield definition types to filter companies and company locations using company and company location metafields:
- Collection reference or Collection reference (list)
- Company reference or Company reference (list)
- Metaobject reference or Metaobject reference (list)
- Page reference or Page reference (list)
- Product reference or Product reference (list)
- Single line text or Single line text (list)
- True or false
Activate filtering for company and company location metafields
To filter B2B customer data using company and company location metafields, you need to activate the filtering setting in your metafield definitions.
Steps:
From your Shopify admin, go to Settings > Metafields and metaobjects.
Depending on the metafield definition that you want to use for filtering, click Companies or Company locations.
Click the metafield definition that you want to use to filter companies or company locations.
In the Options section, activate the Filtering for companies or Filtering for company details option.
Click Save.
Filter B2B customer data using company metafields
After you create your metafield and activate metafield filtering, you can filter companies using company metafields on the Companies page.
Steps:
From your Shopify admin, go to Customers > Companies.
Click the
icon.
Click Add filter +.
In the Metafields section, select the metafield that you want to use to filter your companies.
Filter B2B customer data using company location metafields
After you create your metafield and activate the metafields filtering, you can filter company locations using company location metafields on a company details page.
Steps:
From your Shopify admin, go to Customers > Companies.
Click a company that you want to filter.
In the Locations section, click the
icon.
Click Add filter +.
In the Metafields section, select the metafield that you want to use to filter your company locations.