How to get the order shipping address details and billing address details in magento?

Posted: October 24, 2011 in Magento
Shipping Address Details:

$addr_entity_id="Your shipping Address id";
$shippingaddress = Mage::getModel('sales/order_address');
$shippingaddress->load($addr_entity_id);
$shipaddgetdat =$shippingaddress->getData();

Billing Address Details:

$biladdr_entity_id="Your Billing Address ID";
$billingaddress = Mage::getModel('sales/order_address');
$billingaddress->load($biladdr_entity_id);
$billaddgetdat =$billingaddress->getData();
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s