---
title: >-
  Introducing new enabled_on / disabled_on section 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-section-schema-attributes-deprecating-templates
  md: >-
    https://shopify.dev/changelog/introducing-new-enabled_on-disabled_on-section-schema-attributes-deprecating-templates.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Themes
    handle: dev_themes
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-01-09T11:59:28-05:00'
  postedAt: '2023-01-06T00:00:00-05:00'
  updatedAt: '2024-02-02T10:05:10-05:00'
  effectiveAt: '2023-01-06T00:00:00-05:00'
---

January 6, 2023

Tags:

* Themes

# Introducing new `enabled_on` / `disabled_on` section schema attributes (deprecating `templates`)

You can now use the new [`enabled_on`](https://shopify.dev/themes/architecture/sections/section-schema#enabled_on) / [`disabled_on`](https://shopify.dev/themes/architecture/sections/section-schema#disabled_on) section schema attributes to specify where a section 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 a section to specific templates and section groups.
* Use the `disabled_on` attribute to prevent a section from being used in specific templates and section groups.

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