Is there any configuration to control the expiry of abandoned cart in the admin section in abandoned cart report?
thank you

  • You mean you want to remove to remove abandoned carts after certain time?
    – amitshree
    Sep 1, 2021 at 10:20
  • right! is there any configuration in the admin for that?
    – sara ben
    Sep 1, 2021 at 10:22

1 Answer 1


This feature is called managing quote lifetime.

There is a configuration in admin panel at Stores => Configuration => Sales => Checkout => Shopping cart => Quote Lifetime (days)

Here by default it is set to 30 days which means quotes which were not updated in last 30 days will be removed.

The cronjob sales_clean_quotes which calls method \Magento\Sales\Cron\CleanExpiredQuotes::execute will remove these quotes from the database. Please note that it will not be only removed from abandoned cart report, these items will be removed from the customers cart as well according to the configured quote lifetime.

  • Thank you for your response, if I understand well, if I change Quote Lifetime (days) to 2 per example, I will lost the abandoned cart report in 2 days, right?
    – sara ben
    Sep 1, 2021 at 12:27
  • Yes. Also, customers will not see items in cart if he has not updated cart (add/edit/remove item) in last 2 days.
    – amitshree
    Sep 1, 2021 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.