You can disable the Compare products functionality in Magento by following these steps:
- Edit app/code/core/Mage/Catalog/Helper/Product/Compare.php and change the following code:
- Edit ./app/design/frontend/base/default/layout/catalog.xml (if you are using a different Magento theme, enter its name instead of default) and change the following code:
<!– <block type=”catalog/product_compare_sidebar” before=”cart_sidebar” name=”catalog.compare.sidebar” template=”catalog/product/compare/sidebar.phtml”/> –>
- Flush the Magento cache from your Magento admin area > System > Cache Management.