Data Retention & Guest Anonymizer
Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.0 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.21.x, PHP 7.4 – 8.3 · Changelog: view
Helps you apply your retention policy: age-based rules that anonymize or delete guest orders, old customer accounts, abandoned carts, logs, newsletter leads, call requests, review data, return comments and messages, with a preview, a review gate and an audit log.
CS-Cart keeps what customers type for ever. The core GDPR add-on anonymizes one registered customer at a time, on request. Guest orders, abandoned carts, logs, newsletter signups and the rest are never cleaned up by themselves. This add-on adds the missing part: rules that say “after this long, anonymize or delete this kind of data”, a safe way to try them (dry run, preview, review gate), a locked and batched cron job, and an audit log of what was done.
The add-on helps you apply the retention periods that you decide on. It is not legal advice and does not make a store compliant by itself. Which periods apply to your business is for you and your adviser to decide.
Key features
Section titled “Key features”- Retention rules for ten data types: guest orders, orders of registered customers, inactive customer accounts, abandoned carts, the core log, unconfirmed newsletter signups, call requests, product reviews, return requests and customer/vendor messages.
- Anonymize or delete. Anonymized orders keep totals, taxes, items, dates and (by choice) the country, so bookkeeping and reports stay intact; name, address and phone (also the copy inside the shipping groups), e-mail, IP address, comments, text typed into product options, uploaded option files and stored payment info are removed.
- Safe by default: dry-run mode out of the box and a preview for every rule. A preview approves exactly the records it counted: a live run uses the same cutoff and never processes more, and the approval expires after 30 days or when the rule, the order settings or the live mode change. There is also a per-run cap and a kill switch.
- Orders are never deleted by accident: deleting orders needs its own setting and a minimum age (default 120 months), and on CS-Cart deleting through this add-on does not put goods back in stock. On Multi-Vendor orders are only anonymized, never deleted.
- Scheduled cron job with batching, a time budget and a lock against parallel runs.
- Audit log of every live run (record ids, counts, times; never names or e-mail addresses) with CSV export.
- Works on top of the core GDPR add-on when it is active: anonymized customers are flagged there and consent log entries lose their e-mail address. The optional core engine has caveats, see Usage.
- Multi-Vendor: child and parent orders are handled together; optional read-only policy page for vendors.
- Hooks for other add-ons that hold personal data.
- CS-Cart, CS-Cart Ultimate, Multi-Vendor and Multi-Vendor Ultimate.
Compatibility
Section titled “Compatibility”- CS-Cart and Multi-Vendor 4.17.2 – 4.21.x (tested on 4.17.2; 4.21.2 Multi-Vendor is covered by the same code paths, see the FAQ).
- PHP 7.2.5 to 8.3, depending on your CS-Cart version.