skip to Main Content

Magento: Get Customer ID in Admin

In Magento 1.9 I want to get the customerId of opened customer in Mage_Adminhtml_Block_Customer_Edit_Tab_View. I tried like this: $customer_session = Mage::getSingleton('customer/session'); //I saw here in Stackoverflow this $customer = $customer_session->getCustomer(); $customerID = $customer->getId(); But I got a null. I also…

VIEW QUESTION
Back To Top
Search