Search products by Metafield
Last updated
Last updated
If you store custom information in metafields (e.g. material, brand, features), you can allow your customers to search for products based on those values using Smart Product Filter & Search.
To make this work, follow the two steps below.
Go to your Shopify Admin → Apps → Smart Product Filter & Search.
From the left sidebar, click Search option.
Select Metafields Search Fields
Scroll to the Search Fields section.
Tick the Metafield checkbox.
Click Save to update your search configuration.
Open the Smart Product Filter & Search app in your Shopify Admin.
From the left menu, click Settings → go to the Metafields tab.
Click Add Field → Choose Metafield.
Enter your metafield namespace and key (e.g., custom.material
).
Under Applies to:
Make sure to enable the Search option so that customer can search for this metafield data.
Click Add, then Save your changes.
Your customers can now search for products using the values stored in your metafield.
Let’s say you use a metafield like custom.material
with values like Cotton, Linen, or Wool. After setup, when someone searches "cotton", matching products will appear in search results.
If you’re not sure about your metafield’s namespace/key or need help setting it up, just contact us at [email protected] — we’re happy to help!