--- title: Introducing new enabled_on / disabled_on app blocks schema attributes (deprecating templates) - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/introducing-new-enabled_on-disabled_on-app-blocks-schema-attributes-deprecating-templates md: https://shopify.dev/changelog/introducing-new-enabled_on-disabled_on-app-blocks-schema-attributes-deprecating-templates.md --- [Back to Developer changelog](https://shopify.dev/changelog) February 26, 2023 Tags: * Action Required * Themes # Introducing new `enabled_on` / `disabled_on` app blocks schema attributes (deprecating `templates`) You can now use the new `enabled_on` / `disabled_on` app block [schema](https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#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](https://shopify.dev/themes/architecture/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`.