Tag: logged in user information

  • How to get the loggedin user information in magento

    In most cases we need to get the current logged in user information like his/her email address, Id, any other attributes value. then we can get this by below code : //Customer Email Mage::getSingleton(‘customer/session’)->getCustomer()->getEmail()); // Customer First name Mage::getSingleton(‘customer/session’)->getCustomer()->getFirstName()); And also we can find the custom attribute values. Tweet This Post