Posted By


hotdiggity on 02/23/11

Tagged


Statistics


Viewed 518 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.

URL: http://www.magentocommerce.com/boards/vie/viewthread/2960/#t259879

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.