Skip to main content
added 36 characters in body
Source Link
Marius
  • 198.5k
  • 55
  • 424
  • 833

Get shipping details by order id

$order_id = 2314; //use your own order id

$order = Mage::getModel("sales/order")->load($order_id); //load order by order id

$shipping_address = $order->getShippingAddress();

echo $shipping_address->getTelephone();

echo $shipping_address->getPostcode(); //use print_r($shipping_address->getData()); to get all the available elements of the object

$order_id = 2314; //use your own order id 

$order = Mage::getModel("sales/order")->load($order_id); //load order by order id 

$shipping_address = $order->getShippingAddress();

 echo $shipping_address->getTelephone(); 

echo $shipping_address->getPostcode(); //use print_r($shipping_address->getData()); to get all the available elements of the object

Get shipping details by order id

$order_id = 2314; //use your own order id

$order = Mage::getModel("sales/order")->load($order_id); //load order by order id

$shipping_address = $order->getShippingAddress();

echo $shipping_address->getTelephone();

echo $shipping_address->getPostcode(); //use print_r($shipping_address->getData()); to get all the available elements of the object

Get shipping details by order id

$order_id = 2314; //use your own order id 

$order = Mage::getModel("sales/order")->load($order_id); //load order by order id 

$shipping_address = $order->getShippingAddress();

 echo $shipping_address->getTelephone(); 

echo $shipping_address->getPostcode(); //use print_r($shipping_address->getData()); to get all the available elements of the object
Source Link

Get shipping details by order id

$order_id = 2314; //use your own order id

$order = Mage::getModel("sales/order")->load($order_id); //load order by order id

$shipping_address = $order->getShippingAddress();

echo $shipping_address->getTelephone();

echo $shipping_address->getPostcode(); //use print_r($shipping_address->getData()); to get all the available elements of the object