Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing util to delete a cart in the database #9

Open
Tofandel opened this issue May 9, 2024 · 0 comments
Open

Missing util to delete a cart in the database #9

Tofandel opened this issue May 9, 2024 · 0 comments

Comments

@Tofandel
Copy link

Tofandel commented May 9, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant