Just save it to a session ;) Or save it in the database and let the session point to that cart id in the database.
Documentation: http://laravel.com/docs/5.1/session
I think this book can help you as well: https://leanpub.com/easyecommerce
Summer Sale! All accounts are 50% off this week.
how to save something like cart details in a browser session ? So that user could see his cart even when he open the browser after he closes it.
Please or to participate in this conversation.