Log in
Collection

ExpiredQuotesCollection

Magento\Sales\Model\ResourceModel\Collection\ExpiredQuotesCollection

What it does

This class retrieves shopping cart quotes that have expired based on the store's configured lifetime threshold.

Developers use this collection when implementing cleanup jobs or cron tasks to identify and remove abandoned shopping carts that haven't been updated within the configured time period (defined in checkout/cart/delete_quote_after setting).

Public Methods

  • getExpiredQuotes()