Open raf187 opened 3 years ago
seems you are checking&updating it after adding item with id of $idProd
@Bobach22 I'm having this happen to me as well. Did you find a solution? I will update the quantity of a product, fetch the cart data (it will show the updated quantity) and then on refresh the old value will still show. This randomly happens about 1 in 5 times.
I had the same problem - the I switched to a livewire component and now its working.
Hi i make a cart with ajax, sometimes I increase, decrease or delete(especially when i click very fast) and the cart dont save the request !
laravel =>
`public function storeOnDB(Request $request, $id){
form =>
@endforeach`
and ajax code=>
thx