- Log in to post comments
mkdir -p app/code/local/BlueAcorn/Catalog/Helper/Product/
cat < app/code/local/BlueAcorn/Catalog/Helper/Product/Compare.php
<?php
class BlueAcorn_Catalog_Helper_Product_Compare extends Mage_Catalog_Helper_Product_Compare {
public function getAddUrl($product) {
return false;
}
}
?>
EOF
mkdir app/code/local/BlueAcorn/Catalog/etc/
cat < app/code/local/BlueAcorn/Catalog/etc/config.xml
<?xml version="1.0"?>
1.0
BlueAcorn_Catalog_Helper_Product_Compare
EOF
cat < app/etc/modules/BlueAcorn_Catalog.xml
<?xml version="1.0"?>
true
local
EOF
# Links
http://www.magentocommerce.com/wiki/how-to/how_to_remove_add_to_compare