Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/plugins/plugins/content/cms/add-cms-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ The Storefront template defines how your element appears on the actual storefron
* **Technical name**: `image-text-reversed` (The `name` property in Step 2)
* **Extension**: `.html.twig`

**Shopware is expecting the prefix as part of the full filename in `src/Storefront/Resources/views/storefront/section/cms-section-block-container.html.twig`.**
**Shopware is expecting the prefix as part of the full filename in `src/Storefront/Resources/views/storefront/block/cms-block-container.html.twig`.**
Copy link
Contributor

@bschulzebaek bschulzebaek Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this path should be correct: it refers to the place where blocks are loaded to provide a bit more technical context. We could rephrase it a bit:

[!NOTE]
Block components are loaded in `src/Storefront/Resources/views/storefront/section/cms-section-block-container.html.twig`. This loader expect the following format for block components: `cms-block-image-text-reversed.html.twig`.


Full example: `cms-block-image-text-reversed.html.twig`

Expand Down