cart cpn code
This commit is contained in:
parent
20a7fc6ea6
commit
14c3a1ff11
|
|
@ -112,7 +112,7 @@ class ProductRepository extends WProductRepository
|
|||
}
|
||||
|
||||
if(isset($params['discount']) && $params['discount']){
|
||||
$qb->where('product_flat.special_price','>',0);
|
||||
$qb->whereNotNull('product_flat.special_price');
|
||||
}
|
||||
|
||||
if (! core()->getConfigData('catalog.products.homepage.out_of_stock_items')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue