We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe86d50 commit ca13fddCopy full SHA for ca13fdd
1 file changed
Observer/Sales/ModelServiceQuoteSubmitBefore.php
@@ -44,10 +44,12 @@ public function execute(
44
'extra_checkout_billing_address_fields'
45
);
46
47
- $this->helper->transportFieldsFromExtensionAttributesToObject(
48
- $quote->getShippingAddress(),
49
- $order->getShippingAddress(),
50
- 'extra_checkout_shipping_address_fields'
51
- );
+ if ($order->getShippingAddress()) {
+ $this->helper->transportFieldsFromExtensionAttributesToObject(
+ $quote->getShippingAddress(),
+ $order->getShippingAddress(),
+ 'extra_checkout_shipping_address_fields'
52
+ );
53
+ }
54
}
55
0 commit comments