Magento Open Source, 1.9.x
Layout Update Syntax

Custom layout updates can be applied to product category pages, product pages, and CMS page to achieve a variety of results, such as:

  • <block>

    Create new block.


    Update existing content.


    Assign actions to blocks.


    Remove blocks.

Any change made to the layout is applied when the associated entity—which can be either a product, category, or CMS page—becomes active in the frontend of the store.

Custom layout update instructions consist of well-formed XML tags, without the <?xml ...> declaration and root tag. As with normal XML, every tag must either be empty or properly closed, as shown in the following examples:

  • <tag attribute="value" />
    <tag attribute="value"> ... </tag>