Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Trying to remove RECENTLY VIEWED PRODUCTS and COMPARE PRODUCTS
 
direcode
Jr. Member
 
Total Posts:  11
Joined:  2011-08-02
 

I am trying to to remove RECENTLY VIEWED PRODUCTS and COMPARE PRODUCTS which are appearing on the right column in Ver1.6.0

Anyone with the solution?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
magedziner
Sr. Member
 
Avatar
Total Posts:  246
Joined:  2009-09-02
 
direcode - 10 November 2011 07:32 PM

I am trying to to remove RECENTLY VIEWED PRODUCTS and COMPARE PRODUCTS which are appearing on the right column in Ver1.6.0

Anyone with the solution?

Thanks

To remove recently viewed products go to reports.xml
comment this line .

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

To remove compare products go to catalog.xml.
comment this line . approx line 59.

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

Hope this helps.

 
Magento Community Magento Community
Magento Community
Magento Community
 
vjtemplates
Guru
 
Avatar
Total Posts:  408
Joined:  2010-12-15
Washington, USA
 

Or in your theme local.xml, under <default> section put these lines:

<remove name="catalog.compare.sidebar"/>
<remove name="left.reports.product.viewed""/>

 
Magento Community Magento Community
Magento Community
Magento Community
 
ksteele36
Jr. Member
 
Total Posts:  26
Joined:  2009-03-05
 

Depends on where the block is located… for left or right blocks the correct code is as follows:

RIGHT = <remove name="right.reports.product.viewed" />

LEFT = <remove name="left.reports.product.viewed" />

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top