diff --git a/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php b/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php index f2d633e..33735d1 100644 --- a/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php +++ b/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php @@ -333,12 +333,6 @@ class ShippingInformation extends CheckoutPaneBase implements ContainerFactoryPl if (!$shipping_profile) { $shipping_profile = $this->order->getBillingProfile(); } - if (!$shipping_profile) { - $shipping_profile = $this->entityTypeManager->getStorage('profile')->create([ - 'type' => 'customer', - 'uid' => $this->order->getCustomerId(), - ]); - } return $shipping_profile; }