Category::all(), 'bestSellers' => Product::with(['categories', 'prices'])->active()->latest()->take(4)->get(), 'topSellingProducts' => Product::with(['categories', 'prices'])->withCount('orderItems')->active()->orderBy('order_items_count', 'desc')->take(3)->get(), ]); } }