Lets say I've called the function below and added item to cart
$cartItem = Cart::add($id, $name, $price, $quantity);
How do I update this particular item if the function is called again?
I'm a bit confused about it.
Is the information stored in the session or what?
Lets say I've called the function below and added item to cart
$cartItem = Cart::add($id, $name, $price, $quantity);
How do I update this particular item if the function is called again? I'm a bit confused about it. Is the information stored in the session or what?