Collection - Feature a subset of collections on a page

Community Manager
Community Manager
300 9 264

Caution: This is an advanced tutorial and is not supported by Shopify. Knowledge of web design languages such as HTML, CSS, JavaScript, and Liquid is required. We suggest hiring a Shopify Expert if you are not comfortable proceeding with the following tutorial.

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.


All Shopify stores have a collections list page at the URL 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.


Note: Because every theme is different, when you make these changes, the styling might not appear as expected.



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. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. In the Templates directory, click Add a new template:


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

  5. Paste this code hosted on GitHub at the very bottom of your new page.list-collections file.
  6. Click Save.


Create a page on which to feature your collections



To create a new page:


  1. From your Shopify admin, go to Online Store > Pages.
  2. Click Add page.
  3. 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.
  4. Assign your new template to the page by selecting page.list-collections from the Template suffix drop-down menu in the Template section:


  5. Click Save.

    NoteEven if your new page is visible, it won't appear in your online store navigation automatically. You'll need to add a link to it in a menu.


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. From your Shopify admin, go to Online Store > Navigation.
  2. Click the Add menu button:


  3. 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:


  4. 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:


  5. Click Save menu.


TyW | Community Manager @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like
New Member
3 0 1

Hi, how to show 2 or 4 collections on a row and not 1 in a column as per code.

1 Like
New Member
1 0 1

Thanks TyW for the great tutorial! It was really simple to implement, however, it would be far more effective if there were a way in which the collections could be placed in rows of say 4 icons across the page (horizontally) rather than having them stacked vertically one by one down the page? Any possibility of an upgrade to the code or a tutorial on how to alter the layout?

1 Like
New Member
3 0 1

is exactly what I would like too, surely there is something to modify in the code, if you know something let me know, thanks.

New Member
3 0 1

nobody help us?