diff --git a/.cursor/rules/blocks.mdc b/.cursor/rules/blocks.mdc index c1562d3cd..2ac3fdf0b 100644 --- a/.cursor/rules/blocks.mdc +++ b/.cursor/rules/blocks.mdc @@ -43,9 +43,15 @@ Blocks render in the editor and storefront when they are referenced in [template { "name": "Block Name", "settings": [], - "presets": [] + "presets": [ + { + "name": "Block Name" + } + ] } {% endschema %} + +**Important:** Blocks must include a `presets` array with at least one preset entry for the block to appear in the Shopify theme editor's "Add block" menu. Without presets, blocks may not be discoverable even if they're registered in a parent block's or section's schema. ``` ### Static Block Usage