|
|
|
|
|
|
|
|
|
|
|
|
|
|
//TODO vérifier ma modif ici |
|
|
//TODO vérifier ma modif ici |
|
|
if(is_null($orderProductAdd->getOrderProductReductionCatalog())) { |
|
|
if(is_null($orderProductAdd->getOrderProductReductionCatalog())) { |
|
|
|
|
|
// on hydrate $productFamily avec réduction |
|
|
$productFamily = $this->productFamilyStore->setSection($orderShop->getSection())->getOneBySlug( |
|
|
$productFamily = $this->productFamilyStore->setSection($orderShop->getSection())->getOneBySlug( |
|
|
$orderProductAdd->getProduct()->getProductFamily()->getSlug() |
|
|
$orderProductAdd->getProduct()->getProductFamily()->getSlug() |
|
|
); |
|
|
); |