Found a solution:
Session::put('cart', array_add($cart = Session::get('cart'), $product, $quantity));
Thanks anyways
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community