Skip to content

Day: October 9, 2013

Magento: Load Customer Data by Email

this how i did it, load customer array data by email $email = “[email protected]”; $customer = Mage::getModel(“customer/customer”); $customer->setWebsiteId(Mage::app()->getWebsite()->getId()); $customer->loadByEmail($email); /*—print the object array–*/ print_r($customer->getData());

Leave a Comment