---
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
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Themes
    handle: dev_themes
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: true
  createdAt: '2023-02-24T13:39:16-05:00'
  postedAt: '2023-02-26T00:00:00-05:00'
  updatedAt: '2024-02-02T10:57:45-05:00'
  effectiveAt: '2023-02-26T00:00:00-05:00'
---

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`.
