TIP: How to delete all your orders & coupons and save you time
1 – Make all orders & coupon as “trash”:
With this sql request:
update wp_posts set post_status = 'trash' where post_type = 'shop_order';
update wp_posts set post_status = 'trash' where post_type = 'shop_coupon';
You can execute it on phpMyAdmin or from the DB plugin if you have one that lets you to execute requests, like “WP-DBManager”.
2 – Clean the trash
Comments
So empty here ... leave a comment!