Miguel Pinto
Miguel Pinto

Reputation: 497

Magento - Remove blocks from reference

I'm developing an e-commerce website and I'm using Magento CMS. You can view the site here

I want the left column to only show the categories list. How can i remove the last block.

PS: This must only happen in the home page

Any further details about layouts are welcome.

Thanks and happy programming

Upvotes: 2

Views: 73

Answers (1)

RichTea
RichTea

Reputation: 1435

To remove the compare feature from the left sidebar but only on home page:

Go to /app/design/frontend/default/YOUR_THEME/layout/local.xml

Find or create the tag <cms_index_index> and add the following line:

<remove name="catalog.compare.sidebar" />

Example:

<cms_index_index>
     <remove name="catalog.compare.sidebar" />
</cms_index_index>

Upvotes: 2

Related Questions