Skip to content

Dynamic sources in settings ​

Last updated View as Markdown
  • You can reference an object in a section or block setting value with {{ }}, for example {{ closest.collection.title }}. The reference is resolved when the setting is read. See Dynamic sources.
  • In text settings, you can mix references and other text in one value.
  • In resource and media settings, use one reference as the whole value, for example {{ closest.product }}.
  • The page property is added to closest.
  • The resource settings of the current section or block, and of its parents, are used for closest. See closest.
  • You can use closest in section files.

Last updated: