Home > Shopify Development > Customize your list-collections.liquid template

How to customize your list-collections.liquid template in Shopify

Sam Nguyen
Sam Updated: March 18, 2024

Share:

Drive 20-40% of your revenue with Avada
avada email marketing

Struggling to customize your list-collections.liquid template in Shopify? You’re not alone. Many Shopify store owners find it challenging to personalize this template to match their brand’s unique style. In this guide, we’ll walk you through the steps to easily customize your list-collections.liquid template, helping you enhance your store’s design and improve your customers’ shopping experience.

How to customize your list-collections.liquid template in Shopify

Editing the code for your collections list page can help the page shows only the collections that you have included in the All collections menu.

Following is the tutorial for you to edit list-collection.liquid template for desktop version.

Step 1: Choose theme

Go to your Shopify admin, click Online Store > Themes.

Step 2: Edit code

Click Actions > Edit code at the theme you want to edit.

image

Step 3: Choose list collection template

Choose list-collections-template.liquid in the Sections directory.

image

Step 4: Find the code

In the code box, you need to find all the existence of the below code:



{% for collection in collections %}


However, not all the themes are the same, do some of the themes might include the following code instead:



{% for collection in list_collections %}


After find out all the asked code, you need to change all the mentioned code into the following line:



{% for link in linklists.all-collections.links %}
{% assign collection = link.object %}


Step 5: Save

To end the process, click Save

Conclusion

To wrap things up, customizing your list-collections.liquid template in Shopify doesn’t have to be a daunting task. By following these simple steps, you can ensure your collections page is perfectly tailored to showcase only the collections you want, enhancing both your store’s appearance and user experience. Now, it’s your turn to take action—apply these changes to your Shopify store and see the difference for yourself!


Sam Nguyen is the CEO and founder of Avada Commerce, an e-commerce solution provider headquartered in Singapore. He is an expert on the Shopify e-commerce platform for online stores and retail point-of-sale systems. Sam loves talking about e-commerce and he aims to help over a million online businesses grow and thrive.

Stay in the know

Get special offers on the latest news from AVADA.