lasf fixes

This commit is contained in:
merdan 2022-04-20 18:13:26 +05:00
parent c42fd18e8f
commit 5897df8709
1 changed files with 2 additions and 1 deletions

View File

@ -198,7 +198,8 @@ class ProductRepository extends Repository
}
if($params['brand']){
$qb->whereIn('product_flat.brand_id',explode(',',$params['brand']));
$qb->leftJoin('products', 'products.id','=','product_flat.product_id')
->whereIn('products.brand_id',explode(',',$params['brand']));
}
if (! core()->getConfigData('catalog.products.homepage.out_of_stock_items')) {