# Search behavior

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2F6F3dGhUNvC5rMmgY7llL%2FHyper%20docs%20screenshot%20do%20not%20delete%20(88).jpg?alt=media&#x26;token=95216374-c6a0-4e21-97d3-ba9929325845" 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** the settings.
   {% endhint %}

In the **Search behavior** section, you can edit 2 elements: **product suggestions and recommendations**.

## Search suggestions

Displaying search suggestions on the search results can give more ideas and encourage them to view more products. Predictive search 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.

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2Fwiv2Slehs6Cp6LI90TaB%2Fimage.png?alt=media&#x26;token=dffc6325-e067-45e1-805d-2b511df2c7d8" alt=""><figcaption></figcaption></figure>

* **Enable search types**: Let customers search from available **product types** of the store.

<div><figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FXjZExohl0w8U8YE2nHos%2Fimage.png?alt=media&#x26;token=ab59eff5-72ec-4307-886c-4b40f382290d" alt=""><figcaption></figcaption></figure> <figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FOJ5CjCH1NVN6RGGIS5gO%2Fimage.png?alt=media&#x26;token=c3952c23-ee4f-42de-9e6b-3a3f94f35c5e" alt=""><figcaption></figcaption></figure></div>

* You can also decide what to include in the search suggestions:
  * Product vendor
  * Product type
  * Product price

{% hint style="success" %}
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.

<img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2Fgu9M6bwrOSBdUNcVljL6%2Fimage.png?alt=media&#x26;token=b43dec67-fd77-418d-82a8-0c49313eb245" alt="" data-size="original">
{% endhint %}

{% hint style="warning" %}
Predictive search isn't available in all languages. See the complete [list of supported languages](https://shopify.dev/docs/api/ajax/reference/predictive-search#supported-languages).
{% endhint %}

## Recommendations

Product recommendation boosts sales and increases revenue for your store. It encourages shoppers to buy more.

You can set some **predefined popular search queries** to suggest the search result, and choose how out-of-stock products are shown.

* **Most search keywords:** Choose to display your most search keywords to your visitors.
* **Product recommendations:** Display the up to 8 products you want to make a recommendation to your customers.

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FV6y5veBZ11A15RYzOp3y%2Fimage.png?alt=media&#x26;token=d1259fe7-e839-4dff-a30a-305702775449" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FkUIzEsJKOeRiz891zyf5%2Flivechat883x471%20(1).png?alt=media&#x26;token=90cbed2c-e791-49c8-9f43-49a08bed6f1f" alt=""><figcaption><p><a href="https://apps.shopify.com/xflow?utm_source=foxecom&#x26;utm_medium=help_center_hyper&#x26;utm_campaign=banner">Install XFlow Back In Stock Automation FREE</a></p></figcaption></figure>
