Closed abdulrehmandar2234 closed 3 years ago
kindly explain with some example
I need to add a functionality to display favorite products in my website. the logic for this is to display all the cart and wishlist's content. means display the cart and wishlist of every user for guest on my website. because this pkg don't store cart or wishlist in database. I can't use Cart::all(); do you have any solution. or i have to store every cart and wishlist in db as well when storing it using session(this package).
Thank you I haven't read the full Docs. Another error I'm facing is when I delete cart using this method its give me error The DELETE method is not supported for this route. Supported methods: GET, HEAD, POST. This is the laravel error but may be coming from the package. Do you have any solution.
form action="{{route('cart.destroy',$cart->rowId)}}" method="POST" @csrf @method('DELETE')
form
I want to get every single cart store from different browsers. is it possible.