> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/filter/search-products-by-metafield.md).

# 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 → **Apps** → **Smart Product Filter & Search**.
2. From the left sidebar, click **Search** optio&#x6E;**.**
3. Select Metafields Search Fields
   * Scroll to the **Search Fields** section.
   * Tick the **Metafield** checkbox.
4. Click **Save** to update your search configuration.

<figure><img src="/files/qBArjMJPVA4QqxQkHHu7" alt=""><figcaption></figcaption></figure>

***

### ⚡️ 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.

<figure><img src="/files/EXv98JmRpkwhmuzD0d5A" alt=""><figcaption></figcaption></figure>

***

### 🔎 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 **<contact@globo.io>** — we’re happy to help!
