Go to WooCommerce > Orders in the WordPress admin, and open the order you wish to clone · Click the Clone order button, which appears in the action buttons ...
Split, merge, clone, your crowd/combined/bulk orders using intelligent rules.
Just change the $item_id to $to_order_item_id and you don't even have to touch the order_item_meta since it is still associated with the proper ...
You can use this plugin in order to delete in bulk https://wordpress.org/plugins/ woocommerce-store-toolkit.
a plugin for this: https://woocommerce.com/products/clone-orders/.
When PayPal sends an IPN subscr_payment update to WooCommerce I'm using this code inside the valid_paypal_standard_ipn_request ...
push the staging site to live (overwriting the live site). But, you risk losing data that's been added to the live site since cloning happened. Wait, why ...
How to Prevent WooCommerce Orders and Products From Being Overwritten during Pushing
After activation there will be a Duplicate link in the order overview page
Or, like me, maybe you need to copy an entire WooCommerce website on a fresh subdomain in order to write this step-by-step tutorial!