Shopify CLI 'theme check' fails with 1 error when using the latest Dawn theme update.
Error:
─ info ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ sections/email-signup-banner.liquid │
│ │
│ │
│ [error]: ValidSchema │
│ Property templates is not allowed. │
│ │
│ 402 "templates": ["password"]
Describe the expected behavior
Shopify CLI 'theme check' should pass with no errors.
Version information (Dawn, browsers and operating systems)
Dawn Version: 15.1.0
Chromium Engine Version 129.0.6668.59
macOS Version 14.6.1
Shopify CLI Version: 3.67.1
Possible solution
The error is related to line 402 of sections/email-signup-banner.liquid. According to the section schema docs, using "templates" as a property is deprecated in favor of "enabled_on" and "disabled_on".
Describe the current behavior
Shopify CLI 'theme check' fails with 1 error when using the latest Dawn theme update.
Error:
Describe the expected behavior
Shopify CLI 'theme check' should pass with no errors.
Version information (Dawn, browsers and operating systems)
Possible solution
The error is related to line 402 of sections/email-signup-banner.liquid. According to the section schema docs, using "templates" as a property is deprecated in favor of "enabled_on" and "disabled_on".