I have a problem overriding the controller:
\app\code\core\Mage\Checkout\controllers\OnepageController.php
I tried to do it by creating new file here:
\app\code\local\Mage\Checkout\controllers\OnepageController.php
nothing happened.
Then I tried to do it by creating new plugin :
path : \app\etc\modules\MyExtensions_Checkout.xml
<config>
<modules>
<MyExtensions_Checkout>
<active>true</active>
<codePool>local</codePool>
<depends>
<Mage_Checkout/>
</depends>
</MyExtensions_Checkout>
</modules>
path : \app\code\local\MyExtensions\etc\config.xml
<frontend>
<routers>
<checkout>
<args>
<modules>
<MyExtensions_Checkout before="Mage_Checkout">MyExtensions_Checkout</MyExtensions_Checkout>
</modules>
</args>
</checkout>
</routers>
</frontend>
path: app\code\local\MyExtensions\Checkout\controllers\CartController.php
class MyExtensions_Checkout_CartController extends Mage_Checkout_Controller_Action{}
Module is appearing in admin panel but overriding still doesn't work. What is wrong with my code ? Thx in advance.