public function myCart() { Auth::loginUsingId(1); // $currentUser = Auth::user(); // $cartList = $currentUser->cartProductId(); $currUserId = Auth::user()->id; $cartList = Cart::cartList($currUserId)->get(); return view('myCart', compact('cartList')); // return view('myCart',compact('cartList')); }