public function products(string $category, FilterProduct $request): JsonResource 	{ 		$category = Category::getCategoryByIdOrSlug($category, $request->lang);  		return ProductListResource::collection(Product::listIncludes($request->lang) 												->available() 												->whereIn('category_id', $category->descendantsAndSelf()->available()->pluck('id')) 												->search($request->search, $request->lang) 												->filterPriceRange($request->price_min, $request->price_max) 												->filterCategory($request->category) 												->filterSortBy($request->sort_by, $request->sort_by_field) 												->dynamicFilters($request->filters) 												->orderBy('ordering') 												->orderBy('name') 												->get()); 	}