Magento Category XML updates

Using the custom layout field on category pages can provide some great flexibility when it comes to creating categories that need to be different to the rest of the website.

Change the template of your category, ensure that the file exists in /template/page/

<reference name=”root”>
<action method=”setTemplate”><template>page/christmas.phtml</template></action>


Change the category view to be list view by default for that page

<reference name=”product_list_toolbar”>
<action method=”setData”><key>_current_grid_mode</key><value>list</value></action>

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/wwwwebam/public_html/blog/wp-includes/functions.php on line 4339