Magento order navigation blocks

To order , sort or position the magento left/vertical menu you have to alter the catalog.xml
\app\design\frontend\default\YOURTHEME\layout\catalog.xml

The easiest way to do this, is by using the Before or After tags in the XML file.

before=”-” positions the block before all other blocks
after=”-” positions the block after all other block
before=”test” positions this block before a block with name=”test”
after=”test” position this block after a block with name=”test”

For example:

<block name=”pieter” before=”test”/>

or

<block name=”pieter” after=”test”/>

Example:

Layered navigation block:

Compare navigation block:
I set the after tag for blockname catalog.leftnav this will make die magento compare block displayed after the layered navigation.

catalog_blocks

Leave a Reply

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

-->