Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Introducing new enabled_on / disabled_on app blocks schema attributes (deprecating templates)

Themes

Action required

You can now use the new enabled_on / disabled_on app block schema attributes to specify where an app block can be used. These new attributes replace the existing templates attribute and work for both templates and section groups.

  • Use the enabled_on attribute to limit an app block to specific templates and section groups.
  • Use the disabled_on attribute to prevent an app block from being used in specific templates and section groups.
  • These new attributes work for both app blocks and app block embeds.

Please keep in mind that you can use only one of enabled_on or disabled_on.