PHPackages                             bcmarketplace/module-quote-maintenance - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bcmarketplace/module-quote-maintenance

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

bcmarketplace/module-quote-maintenance
======================================

Professional quote lifecycle management module for Adobe Commerce. Automatically removes stale quotes based on configurable age thresholds.

2.1.1(5mo ago)04↓33.3%proprietaryPHPPHP ~8.2.0||~8.3.0

Since Nov 27Pushed 5mo agoCompare

[ Source](https://github.com/bcmarketplace/module-quote-maintenance)[ Packagist](https://packagist.org/packages/bcmarketplace/module-quote-maintenance)[ RSS](/packages/bcmarketplace-module-quote-maintenance/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

BCMarketplace Quote Maintenance
===============================

[](#bcmarketplace-quote-maintenance)

What It Does
------------

[](#what-it-does)

This module automatically cleans up old shopping cart quotes from your database. By default, Magento keeps all abandoned carts forever, which can slow down your database over time. This module removes quotes older than a specified number of days.

Installation
------------

[](#installation)

1. Install via Composer:

    ```
    composer require bcmarketplace/module-quote-maintenance
    ```
2. Enable the module:

    ```
    bin/magento module:enable BCMarketplace_QuoteMaintenance
    ```
3. Run setup upgrade:

    ```
    bin/magento setup:upgrade
    ```
4. Clear cache:

    ```
    bin/magento cache:flush
    ```

Configuration
-------------

[](#configuration)

Navigate to: **Stores → Configuration → BCMarketplace → Quote Maintenance Settings**

### Settings

[](#settings)

1. **Enable Quote Cleaning**: Turn the cleanup feature on or off

    - Default: Enabled
2. **Max Age (In Days)**: How old quotes must be before deletion

    - Range: 1-1095 days
    - Default: 730 days (2 years)
3. **Batch Size**: How many quotes to process at once

    - Range: 100-10,000
    - Default: 1,000
    - Lower numbers use less memory but take longer

How It Works
------------

[](#how-it-works)

### Automatic Cleanup

[](#automatic-cleanup)

The module runs automatically every day at 2:00 AM via cron. It deletes quotes older than your configured "Max Age" setting.

### Manual Cleanup

[](#manual-cleanup)

You can also run cleanup manually:

```
bin/magento bcmarketplace:quotes:delete-old
```

To force cleanup even if disabled in settings:

```
bin/magento bcmarketplace:quotes:delete-old --force
```

What Gets Deleted
-----------------

[](#what-gets-deleted)

The module deletes quotes based on their `updated_at` date. Only quotes older than your "Max Age" setting are removed. This includes:

- Abandoned carts
- Old guest quotes
- Any quote not updated within your time threshold

**Note**: The module only looks at the `updated_at` date, not order status or other factors.

Logging
-------

[](#logging)

Cleanup activities are logged to: `var/log/system.log`

You'll see entries like:

- When cleanup starts
- How many quotes were deleted
- Any errors that occurred

Troubleshooting
---------------

[](#troubleshooting)

**Cron not running?**

- Check cron is enabled: `bin/magento cron:run`
- Verify cron schedule in admin: **System → Tools → Cron Schedule**

**No quotes being deleted?**

- Check module is enabled in configuration
- Verify quotes exist that are older than your "Max Age" setting
- Check system.log for error messages

**Performance issues?**

- Reduce the "Batch Size" setting
- Run cleanup during low-traffic periods
- Consider running manually during maintenance windows

Support
-------

[](#support)

For questions or support:

- **Email**:
- **Company**: Baako Consulting LLC

License
-------

[](#license)

Proprietary - All rights reserved.

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance76

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65354e2ed5aad9fa5e5b5e992e303d18a3149bab4a99e4b71e4019e31fab0808?d=identicon)[bcmarketplace](/maintainers/bcmarketplace)

---

Top Contributors

[![bcmarketplace](https://avatars.githubusercontent.com/u/180615612?v=4)](https://github.com/bcmarketplace "bcmarketplace (11 commits)")

### Embed Badge

![Health badge](/badges/bcmarketplace-module-quote-maintenance/health.svg)

```
[![Health](https://phpackages.com/badges/bcmarketplace-module-quote-maintenance/health.svg)](https://phpackages.com/packages/bcmarketplace-module-quote-maintenance)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[ecomdev/magento2-product-data-preloader

Magento 2 Product Data Pre-Loader FTW

11953.9k](/packages/ecomdev-magento2-product-data-preloader)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[elgentos/magento2-hyva-checkout-ab-test

Set up an A/B test with different available Hyvä and Luma checkouts

154.2k](/packages/elgentos-magento2-hyva-checkout-ab-test)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
