Saturday 23 March 2013

get customer billing address magento


$customerid = 1;
$visitorData = Mage::getModel('customer/customer')->load($customerid);
$billingaddress = Mage::getModel('customer/address')->load($visitorData->default_billing);
$addressdata = $billingaddress ->getData();
$addressdata['street'];
$addressdata['city'];
$addressdata['postcode'];
$addressdata['region'];
$addressdata['telephone'];

1 comment:

Anonymous said...

If you want to toward starting your personal web shop and after that expand becoming quickly
as you possibly can, then your very first thing that you need to do is have an instant and good start.
Product Suggestion Tool: It is often a useful feature of Magento which makes shopping basic
and comfortable. With Easy Banner 4 you'll be able to attract more visitors with colorful banners and
change your content easily.