diff --git a/src/Service/OrderService.php b/src/Service/OrderService.php index 63ff57465..9b19010a5 100644 --- a/src/Service/OrderService.php +++ b/src/Service/OrderService.php @@ -108,6 +108,7 @@ public function getOrder(string $orderId, Context $context): OrderEntity $criteria->addAssociation('deliveries.shippingOrderAddress.country'); $criteria->addAssociation('deliveries.shippingMethod'); $criteria->addAssociation('deliveries.positions.orderLineItem'); + $criteria->addAssociation('deliveries.stateMachineState'); $criteria->addAssociation('transactions.paymentMethod'); $criteria->addAssociation('transactions.paymentMethod.appPaymentMethod.app'); $criteria->addAssociation('transactions.stateMachineState');