diff --git a/src/Service/OrderDeliveryService.php b/src/Service/OrderDeliveryService.php index fe74691f8..6c877f331 100644 --- a/src/Service/OrderDeliveryService.php +++ b/src/Service/OrderDeliveryService.php @@ -27,7 +27,7 @@ public function getDelivery(string $orderDeliveryId, Context $context): ?OrderDe { $criteria = new Criteria([$orderDeliveryId]); $criteria->addAssociation('order.transactions.paymentMethod'); - $criteria->addAssociation('order.deliveries'); + $criteria->addAssociation('order.deliveries.shippingMethod'); $criteria->addAssociation('shippingMethod'); $result = $this->orderDeliveryRepository->search($criteria, $context);