While researching i discovered EpiServer has an out-of-the-box scheduled job called "Remove Expired Carts"
Hi Evan, see here for more information about this scheduled job
Praful, thank you for your response!
I am unable to find ExpiredCartJobDays in the appSettings section of Web.config
You need to add that like
<add key="ExpiredCartJobDays" value="2" />
It's just a guess, you can try and let me know if not work :)
ExpiredCartJobDays is default to 30 if it is not present. If you want to set different value, you have to add the key yourself
Thanks Praful and Quan, this is very helpful!