The problem is that $order is not set or it's no object (of type Mage_Sales_Model_Order ). Also order with downloadable products have no ...
To get all orders for the current log in customer $customerId = Mage:: getSingleton('customer/session')->getCustomer()->getId(); $_orders ...
Solved: I need to save the shipping address while order is placed in my custom table how to i take the shipping address . I am using the event.
The following might help someone looking for a similar solution: // Get the id of the last order for the current user(session) $orderId ...
Sales Order Shipping Address. I'm sending a GET request to the /V1/orders endpoint on the Magento 2.0.0 api ...
How to get Shipping and Billing address from Order in magento 2? In Magento 2 we can get Customer billing and Shipping address by order id ...
$shipStreet = $order->getShippingAddress()->getStreet() You got billing and shipping street array. Issue solved click kudos/accept as solutions.
I anticipated that the response to a GET request against the /V1/orders API endpoint would include the shipping address for each sales order, ...
If you want to get the country full data you could use this interface: Magento\Directory\Api\CountryInformationAcquirerInterface
Get chosen billing and shipping addresses. Get all needed information in your cart. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $ ...