<?php $CustomerEmail = "customer@test.com"; $Customer = Mage::getModel("customer/customer"); $Customer->setWebsiteId(Mage::app()->getWebsite()->getId()); $Customer->loadByEmail($CustomerEmail); //load customer by email id //use echo $Customer->getId(); echo $Customer->getFirstName(); //print_r($customer->getData()); to find all the available elements. ?>
You can get the the Individual data by using the echo $Customer->getFirstName(); and you can display all the data by using the print_r(). It will returns all the available elements of the particuler customer for which you wants all the details.
Thanks and Happy coding.