@@ -206,7 +206,7 @@ class ProductSolver extends AbstractService implements SolverInterface | |||
$quantityMax = $product->quantity_max; | |||
if($this->isProductQuantityMaxDefinedByDay($product, $day)) { | |||
$fieldQuantityMax = $this->getProductFieldNameQuantityMax($day); | |||
$quantityMax = $product->$fieldQuantityMax; | |||
$quantityMax = (float) $product->$fieldQuantityMax; | |||
} | |||
return $quantityMax; |