Closed achrafkh closed 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?
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.
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?