hassansin / dbcart

Shopping Cart library for Laravel 5 that uses Database instead of Sessions
MIT License
25 stars 10 forks source link

Orders table #3

Closed achrafkh closed 8 years ago

achrafkh commented 8 years ago

isnt better to add orders table ? i mean after checkout, everything goes to orders table so u can keep track of orders while having an empty cart?

hassansin commented 8 years ago

Indeed. But this library only focuses on handling the cart and leaves all the orders related logic. So that you can have a separate Order model, move cart items to it and clear the cart after checkout.