cache responces achyklar
This commit is contained in:
parent
324e48e39b
commit
427d7bfc79
|
|
@ -102,6 +102,10 @@ class ProductRepository extends WProductRepository
|
||||||
$qb->whereIn('product_flat.brand_id', explode(',', $params['brand']));
|
$qb->whereIn('product_flat.brand_id', explode(',', $params['brand']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($params['cinsiyet'])) {
|
||||||
|
$qb->whereIn('product_flat.cinsiyet', explode(',', $params['cinsiyet']));
|
||||||
|
}
|
||||||
|
|
||||||
if(isset($params['discount']) && $params['discount']){
|
if(isset($params['discount']) && $params['discount']){
|
||||||
$qb->whereNotNull('product_flat.special_price')
|
$qb->whereNotNull('product_flat.special_price')
|
||||||
->where('product_flat.special_price','>',0);
|
->where('product_flat.special_price','>',0);
|
||||||
|
|
@ -185,6 +189,8 @@ class ProductRepository extends WProductRepository
|
||||||
->getProductDefaultAttributes(array_keys(
|
->getProductDefaultAttributes(array_keys(
|
||||||
request()->except([
|
request()->except([
|
||||||
'price',
|
'price',
|
||||||
|
'brand_id',
|
||||||
|
'cinsiyet'
|
||||||
// 'color',
|
// 'color',
|
||||||
// 'size'
|
// 'size'
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue