Magento Logged in user details

Mage::getSingleton(‘customer/session’)->getCustomer()->getName()

Mage::getSingleton(‘customer/session’)->getCustomer()->getFirstname()

Mage::getSingleton(‘customer/session’)->getCustomer()->getLastname()

Mage::getSingleton(‘customer/session’)->getCustomer()->getEmail()

 

Share