> For the complete documentation index, see [llms.txt](https://utd-bv.gitbook.io/manual-shopify-theme-ultra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://utd-bv.gitbook.io/manual-shopify-theme-ultra/theme-settings/general/predictive-search.md).

# Predictive search

<figure><img src="/files/2TD1cc9PT5zNG9YuGrNP" alt=""><figcaption></figcaption></figure>

This block of settings is intended for general **Predictive search** settings on the site.

In order to get to the **Predictive search** settings block, you need to go to **`Customizer`** → **`Theme Settings`** → **`Predictive search`**.

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

## **Settings**

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

1. **`Enable search by articles`** - setting allows to include articles in the search;
2. **`Enable search by pages`** - setting allows to include pages in the search;
3. **`No results text`** - setting allows to set no result text.
4. **`Button label`** - settings for input placeholder, if it is empty then text from theme translations will be displayed.

### Most searched

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

1. **`Heading`** - setting allows to set heading when search input is empty;
2. **`Links`** - setting allows to set menu when search input is empty;

## **Additional information**

1. If the `Enable search by articles` or `Enable search by pages` setting is enabled, then **tabs** appear in the search **sidebar**. If no results are found in any of the categories, then this tab will be **disabled**.

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

2. If the search does not return any results, then the search button becomes disabled and a corresponding message is displayed.

## **For Developers**

1. The `predictive-search.liquid` snippet is included in the code, in the `theme.liquid` file.
