# Search behavior

Megamog Search provides the capability to quickly and effectively refine product catalogs or website content.

<figure><img src="https://720269760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSnkJrgCgnPuM88XGWwwm%2Fuploads%2FyYN4WcRPXqwlxOrhYWo2%2Fimage.png?alt=media&#x26;token=dbce206e-2f2a-4a94-8d94-a550ff9e60d7" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Steps

1. In the theme editor (**Customize**), click **Theme settings**
2. Locate **Search behavior**
3. Make necessary changes
4. **Save.**
   {% endhint %}

## Search suggestions

**Predictive search** (search suggestions) shows suggested results as you type. It helps your customers refine their search without being redirected to a search results page, and quickly explore your store by seeing top results for suggested search terms, products, collections, and more.

You can customize the behavior of predictive search with the [Search & Discovery app](https://help.shopify.com/en/manual/online-store/search-and-discovery) from Shopify.

<figure><img src="https://720269760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSnkJrgCgnPuM88XGWwwm%2Fuploads%2FSrAfbNXt9ecPK98COBNR%2Fimage.png?alt=media&#x26;token=0aaeb553-6dae-4b2e-832d-f348e806a210" alt=""><figcaption></figcaption></figure>

You can enable one or all of the following features for search.

* **Enable search suggestions**: predicts what users are searching for and shows results as users type.
* **Show product vendor** (when the search suggestions feature is enabled)
* **Show product price** (when the search suggestions feature is enabled).

{% hint style="info" %}

* Predictive search isn't available in all languages. See the [complete list of supported languages](https://shopify.dev/docs/api/ajax/reference/predictive-search?shpxid=e7a69a3f-9448-4E0E-C1BA-A29185925080#supported-languages).
* By default, a maximum of 10 possible results are shown across all the queried result types.
  {% endhint %}

## Product types

Show a dropdown next to the Header search box to let customers pick a particular product type to search for.&#x20;

If enabled, you should also [add the Product Type filter within the Search & Discovery app](https://help.shopify.com/en/manual/online-store/search-and-discovery/filters).

All product types are listed in the dropdown filter by default.&#x20;

If you want to list out specific types, use commas to separate them.

<figure><img src="https://720269760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSnkJrgCgnPuM88XGWwwm%2Fuploads%2FiSNX0Y2N7JnAfILejWDt%2Fimage.png?alt=media&#x26;token=74a451ca-8f00-449d-9873-43da3c0cc389" alt=""><figcaption></figcaption></figure>
