# Search

This guide describes setting up the Search section on your store’s search page. Use the section to set how search results are displayed on the search page.

The following image shows a search section on a store’s search page. In the image, the section’s settings are displayed on the left. The section’s settings are set to their defaults.

.

For general guidance with modifying sections, refer to Sections overview.

# Set up a search section

To set up a search section:

  1. Go to Customize theme. At the top of the page, use the dropdown to select Others > Search.

    Note

    The section is available only on search pages.

  2. From the side menu, select Search.

    The gift card section select in Theme editor.
  3. Select a setting described in the following table.

Section setting name Description
Filtering and Sorting > Enable filtering Select the checkbox Enable filtering to show/ hide the product filtering options inside the section. If enabled, visitors can select a range of search results by using filtering criteria. Refer to Shopify help: Searching for products and filtering your product list (opens new window) and Shopify help: Add storefront filtering (opens new window).
Filtering and Sorting > Customize filters Follow the link Customize filters to open the Navigation menu editor in Shopify admin.
Filtering and Sorting > Expand filters by default Select the checkbox Expand filters by default to show/ hide the product filtering options with search results, by default, inside the section. With this option set to off, to access the product filtering options, visitors must select the expand menu icon inside the section.
Filtering and Sorting > Show filter counts Select the checkbox Show filter counts to show/ hide a count of the number of products in each filter category, among the search results, inside the section. A count is displayed beside the name of each filter. For example, for a collection containing two products that are in stock, In stock (2) is displayed in the Availability filter area.
Filtering and Sorting > Enable color swatch filters For products in the search results that use color variants, select the checkbox Enable color swatch filters to show/ hide the option to filter products by color, inside the section. Refer to Shopify help: Variants (opens new window) and Shopify help: Searching for products and filtering your product list (opens new window).
Filtering and Sorting > Learn how to set up swatches Follow the link Learn how to set up swatches to open the Baseline: Color swatches guide.
Filtering and Sorting > Enable sorting Select the checkbox Enable sorting to show/ hide the product sorting options, with search results, inside the section. If enabled, visitors can arrange the products in the search results by using sorting criteria.
Theme settings Select Theme settings to access additional settings. Refer to Section theme settings menu.