mindscms / laravelshoppingcart

Laravel Shopping cart
MIT License
55 stars 21 forks source link

Missing util to delete a cart in the database #9

Open Tofandel opened 4 months ago

Tofandel commented 4 months ago

Ideally it should be deleted if calling store with an empty content

It's also very weird that Cart::store throws an exception if the cart is already in the database instead of updating it (and obviously without being able to delete a cart we can't go very far, carts can basically stored only once and then are readonly)