# Search behavior

{% 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.

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.

* **Enable product suggestions**.
* **Show product vendor**: Display the name of the vendor/brand in the suggestion section.
* **Show product price**: Display the price of your product in the suggestion section.

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

{% 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
* **Collection recommended:** Display the collection you want to make a recommendation to your customers&#x20;

<figure><img src="/files/YCx0gVKUddlvCIicA3mF" alt=""><figcaption></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/sleek-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.
