cache responces achyklar

This commit is contained in:
merdan 2022-12-17 16:47:13 +05:00
parent 5e9c1d5c4f
commit 947a401014
1 changed files with 1 additions and 2 deletions

View File

@ -107,8 +107,7 @@ class ProductRepository extends WProductRepository
}
if(isset($params['discount']) && $params['discount']){
$qb->whereNotNull('product_flat.special_price')
->where('product_flat.special_price','>',0);
$qb->where('product_flat.special_price','>',0);
}
if (! core()->getConfigData('catalog.products.homepage.out_of_stock_items')) {