Magento

Get Visitor’s Information

The following code fetches the vistor data:-   $visitorData = Mage::getSingleton(‘core/session’)->getVisitorData(); // printing visitor information data echo “<pre>”; print_r($visitorData); echo..

More
Magento

Magento Display Message

Sucess Message: Mage::getSingleton(‘adminhtml/session’)->addSuccess(Mage::helper(‘dwsm’)->__(‘No record(s) to fetched’)); Error Message: Mage::getSingleton(‘adminhtml/session’)->addError(Mage::helper(‘dwsm’)->__(‘Unable to fetch Source Version(s)’));

More
Magento

Magento Custom Variables

Custom Variables Custom Variables is one of the features added in Magento v1.4 which receives little attention comparing to Secure..

More