Paper templates: Collection

Learn how to customize the collection template

Summary


The collection template is used to show a list of products.

Customizing filters for your collection template


Collection templates are Paper are compatible with Shopify's official Search & Discovery app. This app can be used to customize and extend the available filters for your store.

Enable collection filters

Collection filters can be enabled and disabled from the theme editor. If you aren't seeing your filters make sure you have this setting enabled.

  1. Open the theme editor by clicking Customize next to the relevant theme.

  2. From the dropdown in the center of the top bar select Collections > Default collection.

  3. Select Collection grid from the theme sections.

  4. Scroll down under Display and check Enable filter

Enable collection sorting

Collection sorting can be enabled and disabled from the theme editor. If you aren't seeing your sort options make sure you have this setting enabled.

  1. Open the theme editor by clicking Customize next to the relevant theme.

  2. From the dropdown in the center of the top bar select Collections > Default collection.

  3. Select Collection grid from the theme sections.

  4. Scroll down under Display and check Enable sort

Customizing filtering options

Use the Search & Discovery app to adjust filters.

Adding simple tag filtering to a collection page


Using Paper you can update collection template to use tag based filtering. This is an easy way to surface sub-categories within a collection. For example, you may have a collection titled Accessories using nested navigation you could then set up links to Wallets, Phone Cases, and Bags.

Create metafield definitions

  1. Open up Settings and click Metafields.

  2. Click Collections

  3. Click Add definition.

  4. Set Name to Subtags.

  5. Set Namespace and key to custom.subtags.

  6. Click Select content type.

  7. Click Single line text.

  8. Click List of values.

  9. Click Save.

Add data to collection metafield

  1. Open the collection you’d like to add a tag filtering too

  2. Scroll to the bottom Metafields area.

  3. Enter a text value for each tag filter

    • There's no need to include "All" as that will be the first link within tag filtering

    • Each entry should match a tag that is present within your collection

  4. Click Save.

Adding a nested menu to a collection


Each collection can be set up with nested navigation. This is useful if you have a large collection with multiple sub-groupings within. For example, you may have a collection titled Accessories using nested navigation you could then set up links to Wallets, Phone Cases, and Bags.

Create metafield definitions

  1. Open up Settings and click Metafields.

  2. Click Collections

  3. Click Add definition.

  4. Set Name to Subcollections.

  5. Set Namespace and key to my_fields.subcollections.

  6. Click Select content type.

  7. Click Single line text.

  8. Click Save.

Add data to collection metafield

  1. Open the collection you’d like to add a nested menu to

  2. Scroll to the bottom Metafields area.

  3. Enter a text value.

    • This text must be formatted in a specific way. Please ensure each menu item is separated by “&” then ensure each title and url for each item is separated by a “,”.

    • This should look something like the below

    Tops,/collections/tops&Bags,/collections/bags&Shorts,/collections/shorts
  4. Click Save.

Adding blocks to a collection grid


The collection template can include optional blocks. These blocks are displayed in-grid alongside your products. This can be used to display a text block or a newsletter. Both of which are great for highlighting ongoing promotions.

  1. Open the theme editor by clicking Customize next to the relevant theme.

  2. From the dropdown in the center of the top bar select Collections > Default collection.

  3. Select Collection grid from the theme sections.

  4. Click Add Block then select either Newsletter or Content.

  5. Click into the newly created block.

  6. For the Index field enter the number position you want to display within the collection grid. Entering 1 will ensure this block is displayed as the first item in your grid.

  7. Update the content of your block as needed.

  8. Click Save.

Did this answer your question?
😞
😐
😁