no

How to Remove Compare Products in Magento

To do this first I enable the block outlining so I will be able to determine which layout and block a box is located. To remove these boxe...

To do this first I enable the block outlining so I will be able to determine which layout and block a box is located.

To remove these boxes using the xml layout config files, you have to open and change 2 files

1.) For Compare Products Box open: app/design/frontend/default/youttheme/layout/catalog.xml

Search for the keyword compare and you will hit 2 lines, comment all of these if you don't want any instance of compare.


<block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>


2.) For Recently Viewed Box open: open: app/design/frontend/default/youttheme/layout/reports.xml and comment this line:


<block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />

Related

web-platform 944787274586326218

Post a Comment Default Comments

1 comment

dede said...

Thanks, i comment the part for the recently viewed... and it's gone :)
but if you use the searchbar and search something it is still there :(
any idea?

item