Deleting old shopping carts
|Top Previous Next|
The deletion of old shopping carts can be done automatically with the pre-defined task.
By default, all the shopping carts older than 30 days are considered old and therefore are erased when running the Deleting old shopping carts task. You can change the period of time after which the shopping cart expires by modifying the CMSShoppingCartExpirationPeriod key in the web.config file. See the Web.config settings chapter for more details.
This task erase not only old shopping carts, but anonymous customers with no order as well. This anonymous customer with no order appears when an anonymous user adds an item into the shopping cart. She is then required to enter her name and e-mail and she becomes a customer. If this anonymous user for whatever reason doesn't get through all steps of the checkout process, she remains in the system as an anonymous customer with no order.
You can schedule the deletion of old shopping carts task by setting the Scheduler at CMS Site Manager -> Administration -> Scheduled tasks.
For more information please refer to the Scheduler chapter in Kentico CMS Developer's guide.