Pārlūkot izejas kodu

Merge branch 'develop'

master
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
e39b91c5e9
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. +5
    -3
      Resolver/ProductFamilyResolver.php

+ 5
- 3
Resolver/ProductFamilyResolver.php Parādīt failu

@@ -106,9 +106,11 @@ class ProductFamilyResolver

if($orderShop) {
foreach ($products as $product) {
if ($this->orderShopSolver->isProductAvailable($orderShop->getSection(), $orderShop, $product, 1, true)) {
return $product;
}

return $product;

// Retourner le produit en fonction de sa disponibilité
// if ($this->orderShopSolver->isProductAvailable($orderShop->getSection(), $orderShop, $product, 1, true))
}
}


Notiek ielāde…
Atcelt
Saglabāt