# 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="https://2009335375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKmtdB4I84W3J8hc91H4S%2Fuploads%2Fk5onxRFs377j5HVCOiMC%2F2025-04-22_10-41-06.png?alt=media&#x26;token=2eb26d97-6b75-4027-b9b0-e3d771372061" 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="https://2009335375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKmtdB4I84W3J8hc91H4S%2Fuploads%2FbJTqyKEWoa0I1pRqfNDv%2F2025-04-22_10-48-41.png?alt=media&#x26;token=d887f491-9437-40ee-a52e-a7fc040ccaf9" 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@globosoftware.net>** — we’re happy to help!
