Tag: current customer detail
-
Magento : How to get customer detail by customer Id
If customer is logged in on site and you want to get all information of that customer then you can get by below script: if( $customer = Mage::getSingleton(‘customer/session’)->isLoggedIn()) { $customerData = Mage::getModel(‘customer/customer’)->load($customer->getId())->getData(); print_r($customerData); } It will show you result in an array format: Array ( [entity_id] => 1 [entity_type_id] => 1 [attribute_set_id] => 0 [website_id]…