In a shop using
Idev_OneStepCheckout I need to override the deleteAction. OSC doesn't do this, but it does override
Mage_Checkout_CartController, only for the
_goBack() method. The shop also has a storeview that uses the standard OnePage checkout from Magento.
So, unfortunately, I can't do:
<frontend> <routers> <checkout> <args> <modules> <MyNameSpace_MyModule before="Idev_OneStepCheckout">MyNameSpace_MyModule_OneStepCheckout</MyNameSpace_MyModule> <MyNameSpace_MyModule before="Mage_Checkout">MyNameSpace_MyModule</MyNameSpace_MyModule> </modules> </args> </checkout> </routers> </frontend>
Well, I can, but my module isn't called in the OSC case. Disabling either makes it work for the checkout in question, so I know my code is correct.
Do I have to resort to a rewrite of
/checkout/cart/delete for the onepage case or is there a more elegant solution?