JAVA & RELATED TECHNOLOGIES CODE EXAMPLES
Header Ad
Saturday, April 3, 2010
Ability to get success message in Magento
The following code will be helpful to get the messages in magento.
$mm = Mage::getSingleton('checkout/session');
foreach ($mm->getData('messages')->getItems() as $item){
echo $item->getCode();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
ANDHRA CORNER
View my complete profile
No comments:
Post a Comment