@@ -30,7 +30,7 @@ class CartController extends AbstractController | |||
$data = $request->request->all(); | |||
if (isset($data['order_products']['id_product_family'])) { | |||
$idProductFamily = $data['order_products']['id_product_family']; | |||
$idProductFamily = (int) $data['order_products']['id_product_family']; | |||
$this->productFamily = $this->getProductFamilyContainer()->getStore()->getOneById($idProductFamily); | |||
if(!$this->productFamily) { |