Rewrite core file magento

The tutorial explains how to rewrite core files magento. For editing the base classes in magento we need to create a module.Please check the how to fix the remove item magento cart redirects homepage error by rewirting the core file. When removing an item from the cart using the remove button in the checkout page it redirects to the homepage.The error is due the redirect function in the cartcontroller.php file

The error can be fix by rewriting the core files. In magento for editing the core files we need to create a module. Please click here for step by step explanation.

<?xml version="1.0"?>
<config>
    <modules>
        <Core_Cart>
            <active>true</active>
            <codePool>local</codePool>
        </Core_Cart>
    </modules>
</config>

Share this Tutorial