# Search page

## What is the search page?

Predictive search is a feature on Shopify that suggests products, pages, blog posts, collections, and query results as you type into the search bar. It uses the words and phrases from your product catalog, as well as from past customer searches, to generate suggestions that are relevant to what you're looking for.

Predictive search is a feature on Shopify that suggests products, pages, blog posts, collections, and query results as you type into the search bar. It uses the words and phrases from your product catalog, as well as from past customer searches, to generate suggestions that are relevant to what you're looking for.

{% hint style="success" %}
**Take the following steps:**

* In the theme editor (**Customize**), click on the **page selector**
* Go to the **Others > Search**
  {% endhint %}

<div><figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/Wud2MsTwuexMgqXrx4ui/search-1.png" alt=""><figcaption></figcaption></figure> <figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/SxvnWa25dkie3xbDyDRX/search-2.png" alt=""><figcaption></figcaption></figure></div>

## Section settings

| Settings                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Page width**                   | <ul><li><strong>Boxed</strong>: With boxed width, page content can be displayed within the maximum width. <strong>The page width can be changed in Theme Settings > Layout.</strong></li></ul><ul><li><strong>Full width:</strong> With the "Full width" option, page content can be displayed in its entirety full-width. <strong>When you show content at full width, you can add padding to the left and right sides.</strong></li></ul> |
| **Products per page**            | You can change the "**Products per page**" limit from 8 to 100 maximum on the collection page                                                                                                                                                                                                                                                                                                                                               |
| **Number of columns on desktop** | You can change the number of columns on desktop                                                                                                                                                                                                                                                                                                                                                                                             |
| **Display one column on mobile** | You can display one column on mobile. By default, 2 columns will be displayed                                                                                                                                                                                                                                                                                                                                                               |
| **Enable layout switcher**       | <p>You can enable/disable the product column switcher -</p><p><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/kM2xEDQpEzlDGGVOyfH2/switcher.png" alt="" data-size="original"></p>                                                                                                                                                                                                                                  |

## Filtering & sorting

* Enable filtering

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/PMDJbWVOR1qqLSsJQmrY/search_filtering.png" alt=""><figcaption></figcaption></figure>

### How to customize the filtering

* Go to this page and follow the instructions -

{% content-ref url="../general-topics-faq/add-shopify-2.0-storefront-product-filtering" %}
[add-shopify-2.0-storefront-product-filtering](https://themihub.gitbook.io/vector-test-theme/general-topics-faq/add-shopify-2.0-storefront-product-filtering)
{% endcontent-ref %}

### Desktop filter layout

{% tabs %}
{% tab title="Vertical" %}

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/kbHudAnsqIc0wX6FsRDf/vertical_search.png" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Horizontal" %}

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/63B4B2o0NW77rz6FDKUP/horizontal_search.png" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Drawer" %}

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/gHOBIPCxaXrOpMbd2nQH/search_drawer.png" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Enable sorting

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/NyZmHB9Zfbi7j03B4aE9/search_sort.png" alt=""><figcaption></figcaption></figure>

### Price filter layout

{% tabs %}
{% tab title="Range slider" %}

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/ygX4U7IOHTUErWAEePw5/range_slider.png" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Input field" %}

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/EMKXYUM7faNo377wobwV/input_field.png" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Product card

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/weNMku1qxV4hoqzUrurd/search_product_card.png" alt=""><figcaption></figcaption></figure>

| Settings                       | Description                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Card style**                 | <ul><li><strong>Style 1:</strong> All action buttons will <strong>always be displayed</strong> if you select this</li><li><strong>Style 2:</strong> All action buttons will appear <strong>on hover</strong> when you select it</li></ul>                                                                                                         |
| **Image ratio**                | <ul><li><strong>Adapt to image:</strong> Uses the aspect ratio of the collection images is cropped.</li><li><strong>Portrait</strong>: uses a 2:3 cropping ratio to the images.</li><li><strong>Square:</strong> uses a 1:1 cropping ratio to the images.</li><li><strong>Landscape:</strong>  uses a 3:2 cropping ratio to the images.</li></ul> |
| **Enable color swatches**      | To display color swatches, you need to enable it. **\[**[**Learn more**](https://themihub.gitbook.io/vector-test-theme/theme-settings/color-swatches)**]**                                                                                                                                                                                        |
| **Show second image on hover** | Shows the second product image when a customer moves their mouse over the first image.                                                                                                                                                                                                                                                            |
| **Show badges**                | For particular sections, you can show or hide product badges.                                                                                                                                                                                                                                                                                     |
| **Show cart button**           | For particular sections, you can show or hide the **cart button**.                                                                                                                                                                                                                                                                                |
| **Show pre-order button**      | You may want to allow customers to purchase out-of-stock items. **\[**[**Learn more\]**](https://themihub.gitbook.io/vector-test-theme/general-topics-faq/how-to-enable-the-pre-order-product-to-your-store)                                                                                                                                      |
| **Show quick view**            | For particular sections, you can show or hide the **quick view.**                                                                                                                                                                                                                                                                                 |
| **Show compare button**        | For particular sections, you can show or hide the **compare button.**                                                                                                                                                                                                                                                                             |
| **Show wishlist button**       | For particular sections, you can show or hide the **wishlist button.**                                                                                                                                                                                                                                                                            |
| **Show title**                 | For particular sections, you can show or hide the **title.**                                                                                                                                                                                                                                                                                      |
| **Show price**                 | For particular sections, you can show or hide the **wishlist price.**                                                                                                                                                                                                                                                                             |
| **Show vendor**                | For particular sections, you can show or hide the **wishlist vendor.**                                                                                                                                                                                                                                                                            |
| **Show countdown**             | To display the countdown timer, you need to enable it. \[[**Learn more**](https://themihub.gitbook.io/vector-test-theme/collections-and-products/products/add-a-countdown-timer-to-the-product)]                                                                                                                                                  |
| **Show product rating**        | To display the product rating, you need to enable it. \[[**Learn more**](https://themihub.gitbook.io/vector-test-theme/general-topics-faq/how-to-add-product-reviews-to-your-store)]                                                                                                                                                              |

## Blog card

<figure><img src="https://content.gitbook.com/content/bMGVnCsdnFPDX2dCTNWk/blobs/GkxTxn48TKM6kbctFaMs/blog_card_searh.png" alt=""><figcaption></figcaption></figure>

## Section padding

| Settings                    | Description                                                                                                                          |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Desktop**: Padding top    | The section’s top inner space height is determined. From 0 to 150 px, will be incremented by 5px. **It will affect the desktop.**    |
| **Desktop**: Padding bottom | The section’s bottom inner space height is determined. From 0 to 150 px, will be incremented by 5px. **It will affect the desktop.** |
| **Mobile**: Padding top     | The section’s top inner space height is determined. From 0 to 150 px, will be incremented by 5px. **It will affect the mobile.**     |
| **Mobile**: Padding bottom  | The section’s top inner space height is determined. From 0 to 150 px, will be incremented by 5px. **It will affect the mobile.**     |
