# Search behavior

<figure><img src="/files/BPX63oRHFtlEBm5MAmfj" 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="/files/tdOuJ1DdSWx4ItwcN69k" alt=""><figcaption></figcaption></figure>

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

<div><figure><img src="/files/3Oy9Xj9cu12VUjVdLIvM" alt=""><figcaption></figcaption></figure> <figure><img src="/files/FCuScoJElE9xQb0Xyta1" 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="/files/PKzIRC3UpgXkhRZNfIpl" 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="/files/7rb4M5iCHOMjGJW0zF6r" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/6RW1JWuKNf9ovVFLkLXc" 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/hyper-theme/theme-settings/search-behavior.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
