@@ -540,6 +540,11 @@ class OrderUtils | |||
return false ; | |||
} | |||
public function isOrderProductAvailable(OrderProductInterface $orderProduct) | |||
{ | |||
return $this->isProductAvailable($orderProduct->getProduct(), $orderProduct->getQuantityOrder()) ; | |||
} | |||
public function isOrderProductAvailableAddCart(OrderProductInterface $orderProduct, $orderShop = null) | |||
{ | |||
$product = $orderProduct->getProduct() ; |