Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

OpenController Custom Module
 
myrk
Jr. Member
 
Total Posts:  7
Joined:  2008-04-21
 

I try to override the indexAction() .. everything works but after proceed to buy , redirect at the Success page without nothing..
It’s just a very very simple things.. Please Help..

Thank you

class MyNameSpace_MyModule_Checkout_OnepageController extends Mage_Checkout_OnepageController {

public function indexAction()
{

$t_items = $this->getUserItems;
if($t_items > 12 ){
$this->_redirect(’checkout/cart’);
}
parent::indexAction();
}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top