address • billing • customer • session • shipping
use this code to get an array of billing address and shipping address
$all_data = array(); $customer = Mage::getModel(‘customer/session’)->getCustomer(); foreach($customer->getAddressesCollection() as $customer_address) { $all_data[] = $customer_address; } var_dump($all_data);