Yes you can. Just set this up in appSettings episerver:ExpiredCartsRemovalJobExcludedCartName, and you should be fine
Fantastic, thanks. Nice to see an OTB solution for this one :-)
I updated the document and marked it as ready for review. However it's quite strange that Wishlist does not work. The cart name is supposed to be case insensitive ...
I have not tried the code to actually test it with Wishlist, I was just raisingit as it's different than the literal string and the quicksilver guide. I'd also briefly looked at the code and there looked to be a literal comparison that was case sensitive but this is actually on the legacy cart method that uses a SQL string. I think RemoveExpiredSerializableCart looks like it would work. I think it's better that it's matching at least so others don't see similar issues.
I've done a blob post on this whole area so hopefully others will see it when asking similar issues.
We have implemented 2 carts, one for our cart and one for a wishlist however we don't want the wishlist to be cleared when the cart cleanup job runs. Is there a way to disable this for a specific cart?