laravelshoppingcart
laravelshoppingcart copied to clipboard
Session Cart doesn't work in an API. What do you recommend?
trafficstars
Hello I recommend use the database based session.
Hi, I tried using the database solution from your documentation and demo repo.
I got it working with the API, I am able to store and retrieve data correctly for each individual user.
However, I had a question, in the database the cart_data field stays the same for all users, but id is different for each user with _cart_items appended.
Does this mean that the actual deserialized data is stored elsewhere with the mapping of id, and cart_data field from the database?