Task Time: 10 minutes
- Edit /app/design/frontend/default/default/template/catalog/product/list.phtml
- Look for the two instances of the button containing: $this->getAddToCartUrl($_product)
- Either comment out this code or wrap it in a conditional statement
- Do the same for /app/design/frontend/default/theme037/template/catalog/product/compare/list.phtml
- Edit /app/design/frontend/default/theme037/template/catalog/product/view/addtocart.phtml
- Look for the fieldset with the class "add-to-cart"
- Either comment out the entire fieldset or wrap it in a conditional statement
- Edit /app/design/frontend/default//layout/checkout.xml
- Look for the block with the name "checkout_cart_link"
- Comment out the entire block
- Disabled mage_checkout module in system->config->advanced
- Refresh your cache by going to System->Cache Management
You can use this method to test if the user is logged in:
$this->helper('customer')->isLoggedIn()
Reference: http://www.magentocommerce.com/wiki/price_on_application