Get The Customer Address List In Magento


$id = 1; // ur cyst id
        $customer = Mage::getModel('customer/customer')
        ->load($id); //put customer id here
        $data = array();
        foreach ($customer->getAddresses() as $address)
        {
        $data = $addresstoArray();
        // var_dump($data);
        echo '<pre>';
        print_r($data);
        echo '</pre>';
        }



thanks to : http://www.deepcodeonline.com/blog/magento/how-to-get-the-customers-address-list-in-magento/

Share on Facebook