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:
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
declaration and root tag. As with normal XML, every tag must either be empty or properly
closed, as shown in the following examples:

Creates a new block within the current context. Layout block nesting defines the ordering of
block initialization location of the blocks on the page.

Changes the context for all included instructions to a previously defined block. An empty
tag if of no use, because it affects only the instructions which are children.

Leave a Comment

Your email address will not be published. Required fields are marked *