Skip to main content

Dynamic sources

Connect text and image settings to store data such as metafields.

Most text, image and product settings can be connected to store data instead of typed in. The theme editor shows a small database icon next to such a setting; click it to pick a source.

What you can connect

  • On product pages and in the Featured product, settings of the section and its blocks can read the product: title, vendor, description, metafields. The default product page already connects the Heading, Caption and Text blocks this way.

  • In collection and blog templates, the collection or post.

  • Anywhere, store metaobjects, for example a size guide metaobject for a Popup block.

Where it helps

  • The Cards list builds cards from metafields: connect each card's Image and Title.

  • A Testimonial block on a product page connected to the page's product, so the small product card follows.

  • An Accordion row connected to a product metafield for ingredients or care instructions.

Shopify documents the feature in Using dynamic sources.

Did this answer your question?