
when I want to add product to cart, before I redirect to Cart I got this message : HTTP/1.0 302 Found Cache-Control: no-cache. private Date: Sat, 27 Feb 2021 Location: http://127.0.0.1:8000/cart Redirecting to http://127.0.0.1:8000/cart in laravel This is route for add to cart : Route::post(‘add/{product}’, ‘[email protected]’)->name(‘cart.add’); And this is redirect in addToCart controller : return ..