Thursday, 8 August 2013

Magento Passing data between a controller and a block

In the controller write the bellow code
Mage::register('demodata', $demodata);
In the controller write the bellow code 
$data = Mage::registry('demodata');
Hope it will help you.


No comments:

Post a Comment

Thanks for your comments.