How to remove My Cart, Product Catalog & Compare Products modules off the front page?

Hi,

I need to remove My Cart, Product Catalog & Compare Products modules off the front page, how is this done?

Even better would be to only display the My Cart and Compare Products modules off the front page when they are not being used, is this possible?

Thank you.

Dion.

1 answer

Profile photo of Dion Pitsilos 0.00 $tone July 2, 2011
Public

I found how to easily remove the My Cart and Compare Products off the front page.

All you need to do is add the follow to the Layout Update XML of your homepage’s CMS page via the Magento admin:

<reference name="left">
<remove name="cart_sidebar"></remove>
<remove name="catalog.compare.sidebar"></remove>
</reference>

This method can be used on any other CMS pages, categories or product pages and you don’t need to change the code in any of the template files using this technique.

Dion.

#1

This question is now closed

Written By

Comments