public function decreaseSingleProduct(Request $request,$id){ $prevCart =$request->session()->get(\'cart\'); $cart=new Cart ($prevCart); if($cart-