Posted By

hotdiggity on 02/23/11



Viewed 210 times
Favorited by 0 user(s)

Delete cancelled magento orders cron

/ Published in: PHP
Save to your folder(s)

Say you don’t want to reset ALL your orders, maybe you want to PRUNE a production database. if that’s the case, this php file (added to a crontab, or ran from your magento root directory) will DELETE all cancelled orders (5000 limit per instance). This is helpful for production instances, to keep your magento running smoothly if you run alot of test transactions.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.