$customers = Mage::getResourceModel(‘customer/customer_collection’) ->addAttributeToSelect(‘*’) ->addAttributeToFilter(‘firstname’, $firstName); The above code will only load the collection. To get customer…
Customer Related
3 Articles
3
If you want to get the customer information at the success page for you to be able…
<?php $customer_email = “customer@example.com”; $customer = Mage::getModel(“customer/customer”); $customer->setWebsiteId(Mage::app()->getWebsite()->getId()); //load customer by email id $customer->loadByEmail($customer_email); echo $customer->getId(); //get…