Web Development

Tips and tricks for web development, tutorials, custom functions, open sources issues etc

How to disable the Compare products functionality

How to disable the Compare products functionality 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:  public function getAddUrl($product) { return $this->_getUrl(’catalog/product_compare/add’, $this->_getUrlParams($product)); } to public function getAddUrl($product) { //return $this->_getUrl(’catalog/product_compare/add’, $this->_getUrlParams($product)); return false; } Edit ./app/design/frontend/base/default/layout/catalog.xml (if you are using a different Magento …

How to disable the Compare products functionality Read More »