This project extends Drush's SQL sanitize command to perform additional operations on Commerce specific fields and tables. This includes:
- Sanitize order email and IP addresses
- Sanitize addresses (converting most values to `[Sanitized]`)
- Delete all commerce logs (e.g., from the order activity stream)
- Delete all carts, though not all _Draft_ orders
- Delete all tax numbers from customer profiles
- Delete all payment methods
Command line options let you disable any of these operations.
Supporting organizations:
Development and Support
Project information
- Project categories: Developer tools, E-commerce
- Ecosystem: Commerce Core
134 sites report using this module
- Created by centarro on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.




