In Episerver Admin mode I can configure a job called "Remove Expired Carts" to run and cleanup old carts. When ran, it says like this in the job's History tab:
Message: "Processed 103 expired carts"
What is the condition for when a cart is actually considered expired and removed by the job?
"Scheduled job that removes carts older than 30 days (or configured value)."
So basically it just checks the modified date on the cart and that's the condition :)
I see. Thanks :-)
PS: I just saw there's a thread about it here too.
You can control the number of days before a cart is considered "Expired" by the appSetting ExpiredCartJobDays (Default to 30 as Joel said)
You can also control the name of cart to be excluded from removal by the appSetting episerver:ExpiredCartsRemovalJobExcludedCartName (default to "Wishlist")