Search products by Metafield

✨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.


⚡️ Step 1: Enable searching product data by Metafield

  1. Go to your Shopify Admin → AppsSmart Product Filter & Search.

  2. From the left sidebar, click Search option.

  3. Select Metafields Search Fields

    • Scroll to the Search Fields section.

    • Tick the Metafield checkbox.

  4. Click Save to update your search configuration.


⚡️ Step 2: Enable Metafield in the App Settings

  1. Open the Smart Product Filter & Search app in your Shopify Admin.

  2. From the left menu, click Settings → go to the Metafields tab.

  3. Click Add Field → Choose Metafield.

  4. Enter your metafield namespace and key (e.g., custom.material).

  5. Under Applies to:

    • Make sure to enable the Search option so that customer can search for this metafield data.

  6. Click Add, then Save your changes.


🔎 That’s it!

Your customers can now search for products using the values stored in your metafield.


💡 Example

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.


💬 Need Help?

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!

Last updated