Do you want to delete the users with no orders to clean up your site and database?
You’ve landed at the right place!
The users who sign up for your site may not have bought anything from your store, and if you want to delete such users, you can simply delete them from the WordPress dashboard.
But if you have a large customer list, it will be difficult to delete all the users with no orders.
There are a few tutorials available that help you with this, but you will need to use the code to do, and it may be a complex task for a non-techy person.
But In today’s article, I’ll be sharing the step-by-step process to delete WooCommerce users with no orders with the help of a plugin. You will not need to dive into coding to meet your desired goals.
So without any further ado, let’s jump into it.
On This Page
How to Delete the WooCommerce Users With no Orders?
I’ll use the Bulk Delete plugin to delete the WooCommerce users with no orders. So, please follow the following steps to delete the users.
Note: Please create a site backup before following the steps below. If it causes any issues, we’ll not be responsible for it.
1. Install and Activate the Bulk Delete Plugin
First, we need to install and activate the Bulk Delete plugin from the WordPress admin dashboard.
To install it, please navigate to Plugins » Add New from your WordPress admin dashboard and search for the plugin name in the search bar.
In the search bar, search for the plugin name. Once you see the plugin, click the Install button beside its name to install it.
Once the plugin is installed, you’ll see the Activate button instead of the Install button beside the plugin’s name. Please click the Activate button to activate the plugin.
2. Navigate to the Bulk WP
Once you have installed and activated the plugin, you’ll be redirected to the page where you can see all the plugins installed on your store.
Please navigate to the Bulk » WP Bulk Delete Users from your WordPress admin dashboard.
3. Select the Users With no Orders
Once you are in the user delete settings of the plugin, please scroll to the ‘By User Meta’ section and select the ‘_order_count’ from the dropdown. This will check the order count of a user.
Please make sure, in the following dropdown, ‘Equal to’ is selected, and in the ‘Meta Value’ section, please enter 0 as we want to delete the WooCommerce users with no orders. If you want, you can leave the meta value empty.
4. Delete the WooCommerce Users With no Orders
Once you have selected the users, you can also play with the other available settings, but I am keeping them to default ones.
After that, click the blue ‘Bulk Delete’ button to delete the user.
Once you click it, you’ll be shown a dialogue box, and please click the ‘OK’ button to delete all the users with no orders.
Once the users with no orders are deleted, you’ll be shown a message at the top of the plugin’s settings. This message will display the number of users deleted.
5. Final Results
Once the users are deleted, you can check the users by navigating to the Users from your WordPress admin dashboard, and you’ll notice that all the user with no orders has been deleted from your store.
Final Thoughts
That’s it for today’s article.
I hope this article was helpful to you and you were able to delete all the WooCommerce users with no orders. Please let me know in the comments if the plugin isn’t working.