How to use metafields to show different images per collection
By default, the Collection Banner uses the collection's featured image. You can create a collection metafield (for example custom.banner_image) and connect it to the banner's Custom image setting, so each collection shows a unique banner without changing its main product image.
This guide covers the metafield setup only. For the banner's own layout, source, and styling options, see Collection Banner.

Step 1 — Create the metafield definition
In Shopify Admin, go to Settings → Metafields and metaobjects → Collections, click Add definition, and configure:
Name —
Banner imageNamespace and key —
custom.banner_imageType — File — Image, one value

Step 2 — Assign an image to a collection
Open a collection, scroll to Metafields → Banner image, upload the image, and save.

Step 3 — Connect the metafield to the section
In the theme editor, open the Collection banner section and set:
Set Layout to Background or Split (the image options only appear for these layouts).
Set Source to Custom.
On the Custom image field, click the Connect dynamic source icon (the database icon next to the field), then select your Banner image collection metafield (
custom.banner_image).Click Save.

Last updated