Hi Commerce experts
I belive there was a scheduled job for removing expired carts using the old order system. Is this job also working with the new Serializable Carts?
And how are "expired" carts defined (and is it somehow customizable)?
Thank you for your help.
Removing expired carts job works as expected with both legacy and serializable carts.
As default after 30 days, cart will be removed. And you could add setting for this in web.config, appsettings "ExpiredCartJobDays".
Hi Son Do
Thank you for your reply.
Just to be sure: The cart is removed 30 days after the Modified date?
The cart will be removed 30 days after the Created date.
Oh, that will not do for us. Our business requirememt concerns cleanup a number of days after the last modification date.
I guess we will have to implement our own scheduled job then.
Just to clarify - in the old system it will check for Modified date, but in new cart system it'll check for Created time. Yes this is inconsistent and we'll fix it in the future - but just so you know.
Thank you for your clarification.
I will discuss this with our customer. They want us to remove carts 12 month after they have been used, so perhaps we should just use your current job. Since we haven't gone live yet, it will give you a year to change the job, and we don't need to implement this ourself.
Of course you can't promise that you have made the change in that timeframe, but on the other hand, we can wait perhaps half a year and then evaluate the situation again :)
I like your solution - very practical and still statisfy the customer!