O'Reilly logo

Mastering Magento Theme Design by Andrea Saccà

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing the left sidebar

By default, Magento includes some blocks on the left sidebar that could be useless; for example, the tags block. Therefore, we are going to replace them. However, before replacing, let's see how to remove the default blocks if we don't need them.

Removing the default blocks from the sidebar

To remove a default block from the left sidebar or from another core/text_list block, we can use the remove tag in our local.xml file. We already used the remove tag in the previous chapter when we removed the newsletter block from the sidebar to place it in the footer. The following is a reminder of that line of code:

<remove name="left.newsletter"/>

Let's suppose that you want to remove the left tags block and the default callouts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required