Dynamic sources in settings
- 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
pageproperty is added toclosest. - The resource settings of the current section or block, and of its parents, are used for
closest. Seeclosest. - You can use
closestin section files.