Delete Woocommerce Data Completely
If you need to remove ALL WooCommerce data, including products, order history, reports, etc., you need to be able to modify the site’s wp-config.php file to set a constant as true.
To do that you need to add the following code snippet to your site’s wp-config.php file.
define('WC_REMOVE_ALL_DATA', true);
Please make sure add the above snippet on its own line above the /* That’s all, stop editing! Happy blogging. */ line.
sources: https://wpglorify.com/delete-woocommerce-data/