Multiple featured collection images

Shopify Expert
11 0 0

We make themes from scratch and as yet we've not found a way of having multiple featured images in a collection template (collection.liquid).

Some stores have hundreds of unique collections and it is not practical to make a unique collection.liquid template for each and every one.

We want to be able to give the store owner the ability to upload multiple collection images and for these to be outputted in an area we define in the template. We can't use the HTML area.

Any ideas?

Metafields seem to only be for products.... Any apps out there?

0 Likes
Shopify Expert
9807 92 1561

Hey Dan,

Metafields can be applied to collections (and pages, customer, etc). Take a look at the API docs for metafield for more info on that front.

https://help.shopify.com/api/reference/metafield

Once the metafield contains a list (assumed to be a comma seperated value) you can loop over the paths in Liquid adding the extra images to the layout.

You don't need to use metafields either. With some clever content splitting you could also take image paths from the collection description itself.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
1 Like
Shopify Expert
11 0 0

Thanks! The Metafields app we saw didn't allow this for collections... can you recommend an app that allows us to edit metafields for collections? It needs to be easy for the client to use...

0 Likes
New Member
1 0 0

Hi did you find solution for that who to add multiple images for each collection in shopify collection template i want to show multiple images in slider on every collection 

0 Likes