@@ -612,7 +612,7 @@ class OrderShopStore extends AbstractStore | |||
DistributionInterface $distribution, | |||
ProductInterface $product, | |||
$query = null | |||
): ?string { | |||
): float { | |||
//TODO attention à vérifier | |||
$query = $this->createQuery($query); | |||
@@ -629,7 +629,7 @@ class OrderShopStore extends AbstractStore | |||
if ($result) { | |||
return $result['quantity']; | |||
} | |||
return null; | |||
return 0; | |||
} | |||
public function isReductionCreditAllowAddToOrder( |