|
|
|
|
|
|
|
|
return false ; |
|
|
return false ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function isOrderProductAvailable(OrderProductInterface $orderProduct) |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->isProductAvailable($orderProduct->getProduct(), $orderProduct->getQuantityOrder()) ; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function isOrderProductAvailableAddCart(OrderProductInterface $orderProduct, $orderShop = null) |
|
|
public function isOrderProductAvailableAddCart(OrderProductInterface $orderProduct, $orderShop = null) |
|
|
{ |
|
|
{ |
|
|
$product = $orderProduct->getProduct() ; |
|
|
$product = $orderProduct->getProduct() ; |