We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Adding multiple collections to a page using liquid- Trade theme

Adding multiple collections to a page using liquid- Trade theme

Sammie_re
Tourist
3 0 1

I am currently using the old Supply theme and I have many collections for different types of products that are on pages.  for example: for year labels, I did page.year-collections.liquid.  Then code was added to display all the year collections on 1 page.   I am trying to move my store to the "trade" theme, and I would like to set up my collections in the same way. I have been unsuccessful so far at finding the right code for the trade theme. I need the code to have the page name, description, fetch the appropriate collections and collection layout. Can anyone help?

Replies 3 (3)

CodingFifty
Shopify Partner
1102 162 191

Hey! @Sammie_re,

 

To recreate your custom collections landing page (like `page.year-collections.liquid`) in the new Trade theme, create a new page template called `year-collections` and then create a matching section (like `custom-collections-grid.liquid`) that includes the page title, description, and loops through specific collection handles (such as `"collection-2022,collection-2023"`) to display each collection with its image, title, and link. Assign this new template to your desired page in the Shopify admin, and it will replicate the behavior you had in the old Supply theme.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
Sammie_re
Tourist
3 0 1

Sidekick worked! Thank you so much!

tim
Shopify Partner
4812 598 1733

Have you considered adding multiple "Featured collection" sections on one page?

You'd need to create a separate template for this page in Customizer though.

No coding required.

 

The code you have is a workaround using a menu to store (and edit) links to several collections when sections were not available on pages other than homepage.

This is not needed for newer themes -- you'd be able to select collections in section settings.

 

Screenshot 2025-06-26 at 1.52.24 PM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com