Helps you apply your retention policy: rules that anonymize or delete guest orders, old accounts, carts, logs and more, with a preview and an audit log.
Tested on 3 buildsUpdated Nov 22, 2026Version 1.0.2CS-Cart, Multi-Vendor 4.17.2 – 4.22.x No core file edits
Built for
Data Retention & Guest Anonymizer: overview1 of 10
What it does
CS-Cart keeps guest orders, carts, logs and newsletter signups for ever, and the core GDPR add-on anonymizes one registered customer at a time. Data Retention & Guest Anonymizer adds rules: after a period you choose, anonymize or delete this kind of data. It is for stores in Europe and the UK that want a written retention schedule carried out by the system, and for marketplaces that need the vendors' order copies handled too. It helps you apply your policy; it is not legal advice.
How it works
Add a rule for a data type, set the period and the action, and preview it: you see how many records it affects and example ids. Activate it, switch live mode on, and press Run now or let cron run the approved records; preview again at least every 30 days. Rules cover guest orders, customer orders, inactive accounts, abandoned carts, the core log, unconfirmed newsletter signups, call requests, product reviews, return requests and messages. The history page and a CSV export list every run. Shoppers notice nothing.
Features
Retention rules for ten data types with anonymize or delete
Guest and customer orders anonymized with totals, taxes, items and dates kept
Inactive accounts disabled and anonymized, newer orders respected
Abandoned carts, logs and unconfirmed newsletter signups deleted by age
Call requests, product review data, return comments and messages handled
Dry run by default, preview with counts and example ids before every rule
A preview approves exactly the records it counted; changes and age void it
Order deletion (CS-Cart) needs its own setting and a minimum age and does not change stock; Multi-Vendor orders are only anonymized
Cron job with batches, a safety cap, a time budget and a lock
Audit log with record ids only, history and CSV export
Works with the core GDPR add-on when it is active (consent log, flag; optional core engine)
Multi-Vendor: vendor order copies covered, optional read-only policy page for vendors
Hooks so other add-ons can register their own data types
What you get
Package
kv_data_retention-1.0.0.zip, installed through Add-ons → Manage add-ons
Updates & support
12 months included. Download new versions from your account and install them in Add-ons → Manage add-ons or the Upgrade Center.
License
1 production installation. Staging, dev and localhost are free and unlimited. The add-on keeps working after the update period ends. How licensing works
Compatibility
We list only the builds we install and test on. “Tested” means the full test plan was run on that build; “Supported” means the build is inside the supported range and uses the same hooks.
PHP 7.2.5 – 8.3, as supported by your CS-Cart version
Platform
MySQL/MariaDB with InnoDB (the add-on tables use it; the rest of CS-Cart is unchanged)
Requirement
A way to run a cron job (optional): without it you run the rules from the admin panel
Core changes
None. Hooks and template overrides only
1.0.0
Nov 12, 2026
Latest
Added 14
Initial release.
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; the action is anonymize or delete where the type supports both.
Order anonymization that keeps totals, taxes, items, dates and (setting) the country, and removes name, address, phone, e-mail, IP address, comments, custom field values and stored payment info.
Safety: dry-run mode by default, a preview with counts and example ids for every rule that approves exactly the records it counted (same cutoff, never more, valid 30 days, voided by rule, order setting or live-mode changes), a per-run cap, a kill switch and a delete confirmation. Parent orders and the orders of anonymized accounts are counted in the preview and listed in the audit log.
Order deletion (CS-Cart, CS-Cart Ultimate) only with its own setting and a minimum age (default 120 months); the delete does not change stock levels (core fn_delete_order() puts the order into the Incomplete status first, which restocks the goods). Multi-Vendor orders are never deleted (the core handler removes vendor payouts and restocks through the parent), only anonymized. Return deletes follow the same safeguards.
Anonymized orders also lose the customer location copy in the shipping groups, text typed into product options and uploaded option files.
Newsletter rule only removes subscribers who never confirmed a double opt-in list; messages rule leaves vendor-to-administrator threads alone.
Cron job and "Run now" with batching, a time budget and a database lock against parallel runs.
Run history and an audit log (record ids, counts and times only, never personal data) with CSV export and an automatic cleanup after a configurable number of days.
Core GDPR add-on integration when it is active: anonymized customers are flagged, consent log rows lose their e-mail; optional use of the core anonymiser from "Run now".
Multi-Vendor: parent orders follow their last child order; optional read-only retention policy page for vendors.
Hooks kv_data_retention_collect_handlers and kv_data_retention_processed for other add-ons.
"Personal data anonymized" note on the order page.
CS-Cart, CS-Cart Ultimate, Multi-Vendor and Multi-Vendor Ultimate; 4.17.2 to 4.21.x.
Does it make my store GDPR compliant?
No. It is a tool that helps you apply the retention periods you decide on. Which data you may keep, how long and why is a legal question for you and your adviser; the add-on only carries out the rules you set and keeps a record of it.
How is this different from the core GDPR add-on?
The core add-on shows the cookie consent banner, logs consents and lets an administrator anonymize one registered customer at a time. It does not run by itself and does not cover guest orders, carts, logs, newsletter signups, call requests, reviews, returns or messages. This add-on works on all of them by age, in batches, from cron. When the core add-on is active, the two work together: anonymized customers are flagged in the core add-on, and consent log entries of anonymized guests and customers lose their e-mail address.
Is anything deleted when I install it?
No. The add-on starts without rules and in dry-run mode. Nothing is changed until you add a rule, preview it, activate it, switch live mode on and run it.
What does the dry run do?
It counts what each rule would process and shows example record ids. The cron job does the same while live mode is off. Nothing is changed and nothing is written to the audit log.
Why does my rule say "Preview needed"?
A rule only runs after a preview that came after its last change. It is a guard against a typo in a period or an action: you see the number of records the new settings affect before they are touched.
Can I undo a run?
No. There is no undo for anonymizing or deleting. Make a database backup before the first live run and keep the safety cap low until you trust your rules.
Will orders disappear from my reports?
Not when you anonymize. Totals, taxes, items, status, dates and the country (setting) stay, so sales and tax reports are unchanged. Only the personal data is removed.
Are my orders safe from deletion?
Orders are only deleted by a rule with the action Delete, and only if the setting Allow rules that delete orders is on and the rule's period is at least the configured minimum (120 months by default). Both are checked again at every run.
Why does deleting an order here not return the goods to stock?
On CS-Cart and CS-Cart Ultimate: the core makes an order Incomplete before deleting it, which puts the products back into stock. For orders that were completed years ago that would raise your inventory with every deleted order, so this add-on skips the status change. It still runs the core delete hook, so other add-ons clean up after the order.
On Multi-Vendor orders are never deleted by this add-on, only anonymized: the core removes vendor payout rows and restocks through the parent order when an order is deleted.
Does it work with Multi-Vendor?
Yes, for anonymizing. Vendors' child orders are ordinary orders and follow the rules; the parent order is anonymized with its last child and is counted in the preview and listed in the audit log. Orders are not deleted on Multi-Vendor. You can show vendors a read-only policy page. Vendors cannot run or change anything.
What happens to the accounts I anonymize?
The account is disabled and its personal data (name, e-mail, phone, addresses, custom fields, saved cart, newsletter subscriptions) is replaced. The customer cannot sign in any more. Orders of the account stay and follow the order rules, or are anonymized with the account if you tick the option.
Can I still reprint an invoice after an order was anonymized?
The invoice is rebuilt from the order data, so it shows no name and address any more. Totals, taxes and items are the same. Anonymize orders only after your invoice retention period, or keep PDF copies yourself.
Does the audit log contain personal data?
No. It holds the rule, the data type, the action, the record id (or the number of rows) and the time. Ids are numbers of orders, accounts and so on.
What if the cron job is slow or overlaps?
A database lock allows one run at a time. A rule stops at the safety cap or the time budget and continues in the next run.
Which versions were tested?
CS-Cart Ultimate 4.17.2 and Multi-Vendor 4.17.2 (data checks of every rule, the admin pages, the lifecycle and the license), PHP 8.1 and 8.3 for the unit tests. CS-Cart 4.21.x Multi-Vendor uses the same tables, hooks and functions; its template checks were run with Smarty 5 in the shared compile test.
Will it slow down my store?
It has no storefront output and no hooks on shopper pages. Runs happen in the admin panel or from cron, in small batches.
How do I get updates?
Install the new package over the old one. See Installation.
How do I get support?
Contact us through https://cs-cart.kaviolabs.com.
My license shows "Pending verification"
This status appears in older add-on versions when you use a CS-Cart Marketplace license number that our license server has not matched with the Marketplace yet. The add-on is fully working in this state: no feature is switched off and you do not need to do anything. Newer versions show it as Active (Marketplace license). We confirm Marketplace numbers on our side; click Check now on the add-on's License tab (Add-ons → Manage add-ons → the add-on) a little later and it shows Active. If it has not changed after 24 hours, contact support with your Marketplace order number.
CS-Cart Ultimate 4.17.2 and Multi-Vendor 4.17.2 (rules, admin pages, vendor policy page), the data checks also on Multi-Vendor 4.21.2 with PHP 8.3; templates compiled with Smarty 4 and Smarty 5
Add a released add-on to this order and save 15% on it. It uses the same edition and store domain.
Data Retention & Guest AnonymizerThis add-on
+
Cookie Consent Manager with Consent Mode v2 (GDPR)GDPR cookie banner with equal Accept, Reject and Customize buttons, automatic script blocking, Google Consent Mode v2 and a consent log, for a one-time price.
$49
+
Admin Activity Log & Audit TrailSee who changed which price, order, setting or add-on, with the old and new value of every field.
$49
Buy with confidence
What stands behind your license
Tested builds
This product was tested on these builds. Builds we did not test are not listed.