remove lishniy productstan

This commit is contained in:
merdan 2022-05-20 12:37:37 +05:00
parent 73d09ee58e
commit dcdbf9dc81
1 changed files with 4 additions and 4 deletions

View File

@ -118,9 +118,9 @@ class ProductRepository extends WProductRepository
if (is_null(request()->input('visible_individually'))) {
$qb->where('product_flat.visible_individually', 1);
}
if(isset($params['color'])){
$qb->whereIn('product_flat.color', explode(',', $params['color']));
}
// if(isset($params['color'])){
// $qb->whereIn('product_flat.color', explode(',', $params['color']));
// }
if(isset($params['size'])){
$qb->whereIn('product_flat.size', explode(',', $params['size']));
@ -204,7 +204,7 @@ class ProductRepository extends WProductRepository
->getProductDefaultAttributes(array_keys(
request()->except([
'price',
'color',
// 'color',
'size'
])
));