Feature a subset of collections on a page

You can feature a subset of collections on a custom page by editing your theme code. This tutorial shows you how to create a new page template and assign collections to show by using a menu.

Feature collections on a page

All Shopify stores have a collections list page at the URL www.mystore.com/collections that shows all of the collections in the store. As an alternative to this tutorial, you can edit your collections list page to show only a selection of your collections.

Create your new page template

You will need to create a new page template to assign to pages on which you will feature collections.

  1. In the Templates directory, click Add a new template:

    Add a new template

  2. Create a new template for page called list-collections:

    Create a new template

  3. Paste this code hosted on GitHub at the very bottom of your new page.list-collections file.

  4. Click Save.

Create a page on which to feature your collections

To create a new page:

  1. Click Add page.

  2. In the page editor, enter a Title in the text box provided. Note that you must use the same title for the menu that you'll create in the upcoming steps.

  3. Assign your new template to the page by selecting page.list-collections from the Template suffix drop-down menu in the Template section:

    Template suffix

  4. Click Save.

Create the menu that controls which collections are shown

In this step you will create a menu that controls which collections are shown on your new page.

  1. Click the Add menu button:

    Add menu

  2. Give your menu the same Title as the title that you gave the page that will feature your collections. For example, if the page you created has the title Living Room, then you will give your menu the title Living Room:

    Menu title

  3. Add links to your menu for each collection that you want to feature by clicking Add menu item. Choose collections from your store by clicking on Collections in the drop-down menu for the Link text box. It is important to link to your collections in this way, instead of adding a URL to the text box:

    Create a menu

  4. Click Save menu.

Ready to start selling with Shopify?

Try it free