public function category($id)
 {
     $categories = Category::all();
     $category = Category::find($id);
     $products = Product::byCategory($id)->get();
     return view('store.category', compact('categories', 'category', 'products'));
 }