diff --git a/components/ProductsFilter.php b/components/ProductsFilter.php index d70ba1ded..bc299f3ea 100644 --- a/components/ProductsFilter.php +++ b/components/ProductsFilter.php @@ -439,6 +439,7 @@ protected function setPriceRange() protected function setBrands() { $brands = DB::table('offline_mall_products') + ->where('offline_mall_products.published', '=', true) ->whereIn('offline_mall_category_product.category_id', $this->categories->pluck('id')) ->select('offline_mall_brands.*') ->distinct()