diff --git a/packages/Sarga/Shop/src/Repositories/ProductRepository.php b/packages/Sarga/Shop/src/Repositories/ProductRepository.php index 5b72c5bf3..512ac4ad6 100644 --- a/packages/Sarga/Shop/src/Repositories/ProductRepository.php +++ b/packages/Sarga/Shop/src/Repositories/ProductRepository.php @@ -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')) {