get current user info | naveenOS https://www.naveenos.com How may I help you - E-Commerce | Full-Stack Developer Sat, 11 Jan 2014 10:57:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 Magento : How to get customer detail by customer Id https://www.naveenos.com/2011/02/magento-get-customer-detail-customer-id https://www.naveenos.com/2011/02/magento-get-customer-detail-customer-id#respond Sun, 27 Feb 2011 10:56:52 +0000 http://www.naveenos.com/?p=550 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] […]

The post Magento : How to get customer detail by customer Id first appeared on naveenOS.]]>
https://www.naveenos.com/2011/02/magento-get-customer-detail-customer-id/feed 0