List collection names in All Collections

New Member
3 0 0

Under the /collections/all it lists all my products. Is there any way to modify this listing so that collection titles are listed for each product sections..

 

for instance:

Racing bikes
  product-bike1  product-bike2  product- bike3

Classic Bikes
  product-bike1  product-bike2  product- bike3

Bikes on sale
   product-bike1  product-bike2  product- bike3

0 Likes
Shopify Partner
427 81 91

Hello Zarkas,

Yes you can do this, you have to modify collection.liquid.

You have to call specific collection by editing for loop.

 {% for product in collections.[your-collection-handel].products %}

Collection list code

{% endfor %}

 
Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
New Member
3 0 0

Thanks for the fast reply Guleria
From what I can see it's this line in collection-template.liquid that lists all the products..
      {% include 'product-loop', sidebar: sidebar %}
 
so all products on this page are displayed though the product-loop.liquid template and here things are not grouped by collections.

0 Likes
Shopify Partner
427 81 91

You checking in wrong file, please share which theme you are using.
Also please share store url.
Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
New Member
3 0 0

@Guleria using the Turbo-Portland theme. The /collections/all url uses the collection-template.liquid file, which calles the product-loop to show the products on the page.
Can't share the page as site isn't open yet (password protected until finished).

0 Likes