Abandoned carts
Orphaned, abandoned carts are removed.
How to clean up your Shopware database in a scheduled, safe way - with dry-run, audit log and scheduled tasks.
Installation and activation happen entirely in the Shopware backend - no code changes required.
Requires Shopware 6.7 / PHP 8.2+. As always, create a database backup before larger changes.
In the backend, go to Extensions › Store, search for the plugin and install it. Updates then appear automatically in the backend.
Activate the plugin under Extensions › My extensions, then run bin/console cache:clear or clear the cache from the backend.
The module sits under Extensions › Stone & Water › Database Cleanup & Optimizer.
You pick exactly which data is cleaned up - nothing runs without being asked.
Orphaned, abandoned carts are removed.
Mail header, notification and customer-recovery logs can be cleaned up selectively.
Cancelled and old guest orders, expired sessions and orphaned references.
Safe, traceable and schedulable - keeping cleanup low-risk.
The dry-run shows what would be removed - you only delete after reviewing.
Every run is logged and stays traceable.
Scheduled tasks instead of manual work - with retention by days, weeks or months. Custom cleanup rules are possible.
For automation and large data volumes the cleanups can also run via CLI.
bin/console staw:order-versions:analyze shows what could be cleaned - without deleting.
bin/console staw:order-versions:clean runs the cleanup according to the configuration.
In the background the cleanup runs via the scheduled-task worker at your interval.
Answered briefly.
The dry-run shows what is affected beforehand. Before production runs we also recommend a DB backup.
It depends on the shop - via scheduled tasks it runs automatically at your preferred interval.
All features on the product page. We are happy to help with setup and cleanup strategy.