When the shopping cart is emptied, it still appears in orders without total.

I think it should be deleted if the user has deleted the products from the shopping cart.

Comments

zenimagine created an issue. See original summary.

bojanz’s picture

Category: Bug report » Support request
Status: Active » Fixed

An empty cart is not a deleted cart.
Deleting the entire entity only to recreate it if the customer decides to use a shopping cart again in 5min would just strain your system for no benefit.

What you want is a cleanup process to delete empty carts if they haven't been touched in a while.
That's one of the goals of #2853527: Implement the ability to expire and delete old carts.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.