Creating and Editing CMS Pages
Using CMS Blocks
Create reusable content blocks that you can place in multiple spots throughout your store.
CMS blocks (Content > Elements > Blocks) are smaller, reusable content fragments – unlike CMS pages, they don't have their own URL, they get embedded INTO other pages or theme areas instead.
Typical use cases
- Footer content that's the same on every page (opening hours, payment method icons, contact details).
- Static description text at the top of a category (display mode "Static Block and Products", see the "Managing Categories" chapter).
- Banners or notices placed at specific spots in the theme via a widget.
- Recurring text snippets that should appear identically in multiple places in the store, without having to maintain them multiple times.
Structure of a block
Every block has a Block Title (only visible internally, for your own orientation) and a Block ID (the technical identifier it's referenced by, e.g. in a category or via layout XML), plus the actual Content in the WYSIWYG editor.
Embedding it
Once created, you embed the block in three ways: directly in a category (the "Static Block" field, given the right display mode), via a widget anywhere in the theme (see the "Using Widgets" chapter), or – for developers – directly via layout XML using the block ID. Store-view-specific versions of the same block are also possible if you need multilingual content in the same spot.
Enabling and disabling a block
Every block has its own Enable Block field. Turning it off keeps the block in the system – including every reference to it from categories, widgets, or layout XML – but simply stops it from being output at those spots. This is handy for temporarily hiding a block (e.g. a seasonal announcement) without having to remove and later re-add its placements throughout the store.
Store-view-specific block versions
In the edit form, the Store View field determines which store views a block applies to. It defaults to "All Store Views" – for multilingual content, create a separate block per language instead, with the identical Block ID but restricted to the respective store view. Magento then automatically picks the version matching the current store view, without needing to adjust the placement itself (category, widget, layout XML).
Embedding blocks in email templates
Besides categories, widgets, and layout XML, CMS blocks can also be embedded into transactional emails: in templates under Marketing > Communications > Email Templates, the directive {{block id="your_block_id"}} pulls a block's content into the email body – useful for legal notices or seasonal add-ons you want to maintain centrally instead of duplicating them in every single email template.
Naming block IDs sensibly
Since the Block ID must be unique store-wide and is the technical reference point for every placement, it pays to settle on a clear naming convention from the start, e.g. footer_opening_hours or category_shipping_notice. Practical tip: avoid generic IDs like "block1" or "text" – as the number of blocks grows, it quickly becomes unclear where a block is actually used, and accidental overwrites or duplicate blocks become more likely.