From 78c988052d39ea46b1df82eb73a6ea4c73d06315 Mon Sep 17 00:00:00 2001 From: merdan Date: Sun, 13 Nov 2022 15:30:39 +0500 Subject: [PATCH] invoice fx --- packages/Sarga/Shop/src/Repositories/ProductRepository.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/Sarga/Shop/src/Repositories/ProductRepository.php b/packages/Sarga/Shop/src/Repositories/ProductRepository.php index 6719d8f4b..f0634f648 100644 --- a/packages/Sarga/Shop/src/Repositories/ProductRepository.php +++ b/packages/Sarga/Shop/src/Repositories/ProductRepository.php @@ -273,13 +273,11 @@ class ProductRepository extends WProductRepository $query->distinct() ->addSelect('product_flat.*') - -// ->where('product_flat.min_price','>','product_flat.max_price') ->where('product_flat.status', 1) ->where('product_flat.visible_individually', 1) ->where('product_flat.channel', $channel) ->where('product_flat.locale', $locale) - ->leftJoin('marketplace_products', 'product_flat.product_id', '=', 'marketplace_products.product_id') + ->join('marketplace_products', 'product_flat.product_id', '=', 'marketplace_products.product_id') ->where('marketplace_products.marketplace_seller_id', $seller_id); if ($categoryId) { $query->leftJoin('product_categories', 'product_categories.product_id', '=', 'product_flat.product_id')