Open Braunson opened 7 years ago
Hi, i don't see this problem. I made a quick demo as an attempt to replicate your issue but it works just fine. Im using laravel 5.4~ and shoppingcart 3.0~
here is the demo: http://phpstack-86254-257005.cloudwaysapps.com/cart here is the git repo of the demo: https://github.com/darryldecode/laravelshoppingcart-demo
thanks!
Running
3.0
on Laravel 5.4, adding works fine, but when I try to remove an item by ID from the cart, it returnstrue
but still is in the cart!Update: Since I'm making ajax calls to add items, show the cart list, and remove items, there may be a session issue where one call is being called in parallel to another and overwriting the session. Here's the Laravel thread, which describes this issue: laravel/framework#5416