# Product grid

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

This article guides you on how to customize and show a list of products based on a category in a grid view on your collection page.

{% hint style="success" %}
Steps

1. In the theme editor (**Customize**), open the template selector.
2. Select **Collections**, then **Default collection.**
3. On the left-sidebar, locate **Product grid**
4. Make necessary changes **> Save.**
   {% endhint %}

## General and layout

Set the number of **Products per page** (8-36 products) and the **Number of columns on desktop** (1-6 products);

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

Provide the Product grid with an appealing and appropriate **Grid layout**:

* Standard
* Grid mix

<figure><img src="/files/6wqPT8HhUrrdN8JWe6hU" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/LAFc0NJ1QvKe9NFWojLJ" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Grid mix" %}

<figure><img src="/files/PKrfLCHqcFGrALdqndx2" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

Moreover, you can also enable **Pagination** in 3 ways:

{% tabs %}
{% tab title="Pagination by number" %}

<figure><img src="/files/GZzreOrkWwzQHsCejKZ4" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Load more button" %}

<figure><img src="/files/25nbrP7kbeiDBFAnRH84" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Infinite" %}

<figure><img src="/files/4TOVcQQYkLSQe9ktFSxM" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Filtering and Sorting

Allow your customers to filter collections and search results by product availability, price, color, and more.&#x20;

<figure><img src="/files/51bgfTpUX3sEb6x1WD7e" alt=""><figcaption></figcaption></figure>

This section allows you to **Enable filtering** for the collection. You can customize filters with the **Search & Discovery** app. [Learn more](https://help.shopify.com/manual/online-store/search-and-discovery/filters)

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

You can also **Enable sorting** on the collection. The collection can be sorted by:

* Featured
* Best selling
* Alphabetically, A-Z
* Alphabetically, Z-A
* Price, low to high
* Price, high to low
* Date, old to new
* Date, new to old

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

There are 2 types of **Desktop filter layout**s: Vertical and Drawer (Default mobile layout)<br>

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

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

<figure><img src="/files/ZxNM4w0pyPoZhcPEWY8c" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Drawer" %}

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

<figure><img src="/files/BrFiFbexUKbEa3xIQFMZ" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

If you want the color filter to display as color swatches instead of text swatches, simply **Enable color swatches** for the filters.

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

If you want the filter groups to open/expand automatically when accessing the collection page, you can insert group filter name into the **Expand filter groups** field, and each group filter is separated by a comma. Exam: Price, Color, Size

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

### How to customize filters

{% hint style="info" %}
Customizing the filters in your store requires the [Shopify Search & Discovery](https://apps.shopify.com/search-and-discovery) app.&#x20;

The app also allows you to customize search results and product recommendations to give you more control over how customers discover your products.&#x20;

Learn how to [customize filters with the app](https://help.shopify.com/en/manual/online-store/search-and-discovery/filters).
{% endhint %}

1. Go to **Online store > Navigation**&#x20;
2. Click **Add** and install the [**Shopify Search & Discovery**](https://apps.shopify.com/search-and-discovery) app for your store

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

3. Go to **Apps** > **Search & Discovery** > **Filters** > **Edit filters**

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

4. Add or remove filters to show/hide from the storefront filters > **Save** the settings.
5. In the theme editor (**Customize**), open the template selector > Select **Collections** > **Default collection.**
6. On the left-sidebar, locate **Product listing** > Select **Enable filtering** checkbox
7. **Save**

## Mobile Layout

You can adjust the **Number of columns on mobile** to **1 column** or **2 columns.**

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

***

<figure><img src="/files/YXBHClmuIdzmicYniTsL" alt=""><figcaption><p><a href="https://apps.shopify.com/xflow?utm_source=foxecom&#x26;utm_medium=help_center_sleek&#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/sleek-theme/collections-and-products/collection-page/product-grid.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.
