bcmarketplace/module-quote-maintenance
Composer 安装命令:
composer require bcmarketplace/module-quote-maintenance
包简介
Professional quote lifecycle management module for Adobe Commerce. Automatically removes stale quotes based on configurable age thresholds.
README 文档
README
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
-
Install via Composer:
composer require bcmarketplace/module-quote-maintenance
-
Enable the module:
bin/magento module:enable BCMarketplace_QuoteMaintenance
-
Run setup upgrade:
bin/magento setup:upgrade
-
Clear cache:
bin/magento cache:flush
Configuration
Navigate to: Stores → Configuration → BCMarketplace → Quote Maintenance Settings
Settings
-
Enable Quote Cleaning: Turn the cleanup feature on or off
- Default: Enabled
-
Max Age (In Days): How old quotes must be before deletion
- Range: 1-1095 days
- Default: 730 days (2 years)
-
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
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
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
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
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
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
For questions or support:
- Email: rbaako@baakoconsultingllc.com
- Company: Baako Consulting LLC
License
Proprietary - All rights reserved.
bcmarketplace/module-quote-maintenance 适用场景与选型建议
bcmarketplace/module-quote-maintenance 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 bcmarketplace/module-quote-maintenance 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bcmarketplace/module-quote-maintenance 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-12-01