Oh snap! You are using an old version of browser. Update your browser to get new awesome features. Click for more details.

Magento notification types



There are few “notification types” in Magento you can utilize:
  • error
    Mage::getSingleton(‘core/session’)->addError(‘Custom error here’);
  • warning
    Mage::getSingleton(‘core/session’)->addWarning(‘Custom warning here’);
  • notice
    Mage::getSingleton(‘core/session’)->addNotice(‘Custom notice here’);
  • success
    Mage::getSingleton(‘core/session’)->addSuccess(‘Custom success here’);

(0) comments