We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77542e commit 3543552Copy full SHA for 3543552
app/code/Magento/Sales/Model/Order/ShippingBuilder.php
@@ -80,10 +80,7 @@ public function create()
80
if ($this->order->getEntityId()) {
81
/** @var ShippingInterface $shipping */
82
$shipping = $this->shippingFactory->create();
83
- $shippingAddress = $this->order->getShippingAddress();
84
- if ($shippingAddress) {
85
- $shipping->setAddress($shippingAddress);
86
- }
+ $shipping->setAddress($this->order->getShippingAddress());
87
$shipping->setMethod($this->order->getShippingMethod());
88
$shipping->setTotal($this->getTotal());
89
}
0 commit comments