Collections And ProductsCollection page
Main collection
3 min read
_cW94MT1c.jpg)
- In the theme editor (Customize), open the template selector.
- Select Collections, then Default collection.
- On the left-sidebar, locate Main collection.
- Make necessary changes > Save.
Layout
- Products per page: Set how many products are displayed on each page.
- Pagination type: Select one of three pagination styles:

- Horizontal gap / Vertical gap: Adjust the spacing between product cards in the grid layout.

Filtering & sorting

This section allows you to Enable filtering for the collection. You can customize filters with the Search & Discovery app. Learn more




How to customize filters
Customizing the filters in your store requires the Shopify Search & Discovery app.
Learn how to customize filters with the app.
- Go to the Shopify admin dashboard.
- Click Apps and install the Shopify Search & Discovery app for your store

- After the app is installed, open Search & Discovery > Filters > Edit filters


- Add or remove filters to show/hide from the storefront filters > Save the settings.
- In the theme editor (Edit theme), open the template selector > Select Collections > Default collection.
- On the left sidebar, locate Product listing > Select Enable filtering checkbox
- Save
How to set up an image categories filter like the Pebble demo

Step 1: Create a Metaobject (Categories)
- Go to Settings > Metafields and metaobjects.
- Create a new Metaobject.
- Name it: Categories (or any name you prefer).
- Add fields:
- Label → Single line text
- Image → Image (File)
- Click Add entry at the top.
- For each entry:
- Enter the Label of the category
- Upload the Image you want to display in the filter
- Click Save.



Step 2: Create a Metafield
- Create a new Metafield.
- Name it: Categories (or any name you want).
- Type: Select the Metaobject you've created and choose List type instead of One entry.
- In Category assignments, assign categories to the Categories filter you want.
- Click Save.

Step 3: Assign Categories to Products
- Go to Products > Select a product
- Scroll to Metafields and find your Categories metafield
- Add values (T-Shirts, Dress, etc.), then click Save.

Step 4: Add Filter in Search & Discovery App
- Go to Apps > Search & Discovery.
- Open Filters, then click Add filter.
- Select your Categories metafield.
- Display settings:
- In Manage Values, change “Swatch” > “Image” (Adjust “Include visual”)
- Click Save.


Last updated