public function putUpdate(Request $request)
{
$this -> validate($request, [
'qty' => 'required|integer|between:1,99',]);
$user_identifier = session::get('uniqueIdentifier');
$user_cart_id = DB::table('order_carts')->where('uniqueIdentifier', $user_identifier)->first()->orderCartId;
$this -> item = DB::table('order_items')->where('orderCartId', $user_cart_id)
->where('orderItemsId', $request->hiddenId)
->update([
'qty' => $request->qty
]);
return redirect()->back()->with('success', 'Cart Item Updated Successfully');
}