Skip to content

Instantly share code, notes, and snippets.

@Vinai
Created July 11, 2012 14:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vinai/3090945 to your computer and use it in GitHub Desktop.
Save Vinai/3090945 to your computer and use it in GitHub Desktop.
Your/Ext/etc/config.xml and Your/Ext/controllers/Checkout/CartController.php
<?php
// Your/Ext/controllers/Checkout/CartController.php
class Your_Ext_Checkout_CartController extends Mage_Checkout_CartController
{
public function yourNewAction()
{
}
}
<config>
<!-- Your/Ext/etc/config.xml -->
<frontend>
<routers>
<checkout>
<args>
<modules>
<your_ext after="Mage_Checkout">Your_Ext_Checkout</your_ext>
</modules>
</args>
</checkout>
</routers>
</frontend>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment