How to get customer data by id in magento
$id =5;
$customer = Mage::getModel(‘customer/customer’)->load($id);
$customer->getFirstname();
$customer->getEmail();
Advertisements
Add Comment
📖 Read More
- 1. Magento create admin user mysql query
- 2. Magento Error when flushing or deleting cache in magento 1.9 | magento error after flushing cache
- 3. Base table or view already exists: 1050 Table 'core_email_queue' already exists, query was: CREATE TABLE `core_email_queue` in magento 1.9
- 4. Could not resolve host: magento-community
- 5. Magento core_email_template setup | Base table or view not found: 1146 Table 'core_email_template' doesn't exist