I am using below code to get customer firstname and lastname from billing address but it is not returning any value. Can someone please help how we can get those information from billing address. Any help will be great.
$order = Mage::getModel('sales/order')->loadByIncrementId('700590221'); $billingAddress = $order->getBillingAddress(); echo 'FirstName: ' . $billingAddress->getFirstName() . PHP_EOL; echo 'LastName: ' . $billingAddress->getLastName();