There are legitimate reasons to want to take WooCommerce out of a WordPress site (maybe you’re migrating it to its own subdomain, we do this a lot for our clients), and, when you’ve got rid of it, you want to take out all the extra information (products, orders, custom post types, etc etc) from the database because, well, its just a lot of cruft you don’t need if you are completely removing WooCommerce.
Luckily for you, the developers who helped to build WooCommerce had your best interests in mind when they created the plugin, and provided a nice way to simply clean out your database when you remove WooCommerce, by following the simple steps below.