Learn a simple way to bulk delete products from your WooCommerce store without navigating through the Products page. By using a CSV file along with the premium version of the Product Import Export Plugin for WooCommerce, this article explains how to bulk delete products.
Did you know there’s an easy way to bulk delete products on your WooCommerce store besides deleting them from the WooCommerce Products page? If you have a large inventory, this method can help you save a lot of time and effort.
Using a CSV file with the premium version of the Product Import Export Plugin for WooCommerce, you can swiftly and effectively delete hundreds or even thousands of products at once. This efficient method not only makes inventory management easier but also keeps your store organized and current.
In this article, we will dive into deleting products in bulk in WooCommerce.
Let’s get started.
Key Takeaways:
- Bulk deleting products from your WooCommerce store allows for quick removal instead of individually deleting them, saving considerable time and effort.
- Using the premium version of the Product Import Export Plugin for WooCommerce plugin makes it easier to delete products and ensures that your store remains organized and current.
Let’s give a quick summary of what we will be doing:
- Firstly, we will export the products into a CSV file from your store using the same Product Import Export Plugin.
- Next, we will edit the CSV file to remove any products we don’t want to keep on our site.
- Finally, we will use the same plugin with the “Delete non-matching products from store” option enabled to import the CSV file into our store.
Exporting Products into a CSV File
Now follow the below steps to export products from your WooCommerce store.
Step 1: Install & Activate the WebToffee Product Import Export Plugin
- After purchasing the plugin, download the plugin file from My Account > Downloads.
- Go to Plugins > Add New Plugin from your WordPress dashboard and upload the plugin file.
- Install and Activate the plugin.
Step 2: Select Product as Post Type for Export
After you have installed and activated the plugin, let’s see how the export process is carried out.
- Go to – WebToffee Import Export (Pro) > Export.
- Choose the post type as Product and proceed to select the export method.
Step 3: Choose Advanced Export Method
- Now select the method for exporting the products. You will have two options: Quick export and Advanced export.
- Let’s select Advanced export and proceed to the next step.
Step 4: Filter Product Data to Export
Here, you can customize the export by selecting the number of products to be exported and specifying which products, categories, or tags to include or exclude.
However, if you want to export all products, it’s best to skip these steps.
Step 5: Map and Rename Export Columns
Here, you can decide which information to export and how to organize it. You can rearrange the product fields, rename the columns, and select specific fields to appear in the output export file.
Since we have to export all the products, you can skip configuring and proceed directly to the next step. If you prefer to rename or rearrange any fields, you can do so before moving forward.
Step 6: Set Advanced Options/Batch Export of Products
In this final step, you can customize the export file name and format and access advanced options like scheduling, batch exporting, and more.
- In the Delimiter drop-down, choose a separator (comma, semi-colon, tab, space) that differentiates columns in the CSV file.
- Select the number of products to be exported in a single batch. By default, it’s set to 100.
- Once done, click on Export to start exporting your products.
You can then download the CSV file and modify it to remove any products you no longer wish to keep on your site.
Now let’s proceed to importing these product files.
Import Products for Bulk Deletion
Follow the below steps to import products using the same plugin and delete them in bulk from your WooCommerce store.
Step 1: Select Product as the Post Type to Import
Once you have installed the plugin,
- Go to WebToffee Import Export (Pro) and select Import.
- Select Product as the post type to import from the dropdown menu.
Step 2: Select Advanced Import Method
Here, you may select the Advanced import option and upload the CSV file you prepared earlier.
Proceed to the next step.
Step 3: Map Imported Columns to Product Data Fields
Here, you can map the CSV file to the WooCommerce data fields. Mapping is required to ensure that the column headers in the CSV file match the corresponding WooCommerce data fields.
Step 4: Set Advanced Options for Product Import
This is the final step in importing products, and here, we will configure the option to delete products in bulk.
- Choose to Update the existing products in the store.
- Then, you will find an option to Delete non-matching products from store. Enable the option to delete products from your store that are not presented in the CSV file.
- Now, click on the Import/Schedule button and select Import.
After successfully importing the products, all existing products in the store that are not in the CSV file will be removed.
This keeps your store’s product inventory current by automatically removing outdated or irrelevant items. Additionally, the plugin minimizes the chance of human error and speeds up the process. This automated removal helps maintain a clutter-free store, ensuring that customers only view the most recent and relevant products.
Using a CSV file along with the premium version of the Product Import Export Plugin for WooCommerce allows you to delete multiple products at once efficiently. It’s a much faster and more efficient method than manually deleting products from the WooCommerce Products page, especially when dealing with large inventories.
Here’s how it works: First, export your products into a CSV file. Then, simply edit the file to remove any products you no longer want in your store. After that, import the file back into WooCommerce, and the plugin will automatically delete any products that aren’t listed in the CSV.
No, only products not listed in the CSV file will be deleted. The products that remain in the CSV file will remain in your store after the import process.
Once the bulk delete is completed, the products you removed will no longer be available in your store. It’s a good idea to keep a backup of your store or the CSV file in case you need to recover any deleted products in the future.
The bulk delete function only removes products not in the CSV file. It also removes all associated product data, such as images and descriptions, from your store.
Conclusion
This article aimed to show you how to delete products in bulk via CSV in WooCommerce. There are quite a few instances in which you may need to delete products in bulk from your WooCommerce store. Deleting each product from the WooCommerce Products page can be daunting. This is why you need a plugin to ease your effort.
The WooCommerce Product Import Export plugin we mentioned in this article also has a free version with some basic features you’re looking for. Check out the free plugin and see if it suits your requirements.
However, if you need advanced product filtering options and bulk delete products, you’ll need to purchase the premium version.
If you have any queries, drop them in the comments section; we will be happy to help you.
Comments (13)
Jessica Thielke
September 1, 2024
Hallo,
leider habe ich zu spät gelesen, dass man die Produkte, die man behalten will in die CSV Liste eintragen muss.
Schön, dass ich es mit einem Produkt von 6.500 Produkten versucht habe.
LEIDER kann man den VORhang nicht abbrechen. Selbst wenn man abbrechen druckt und sogar in der Hitorie auf löschen drückt, werden im hintergrund alle Produkte weiterhin gelöst. Selbst wenn ich manuel in gelöschte Produkte gehe und versuche sie wiederherzustellen, fängt weptoffee immer und immer wieder von vorne an.
Gut dass ich ein stündliches Backup habe. Blöd nur, dass ich die Bestellungen dann auch verliere und sie manuel wieder herstellen darf.
Also diese Funktion oben ist überlst schlecht programmiert von webtoffe. Jede stink normale Plattform kann mit einem einzigen klilck die in der vorhandenen CSV Datei befindlichen Produkte löschen und muss nicht wiedersprüchliche IMPORT aussagen alleine in der Oberfläche versuchen zu verstehen.
Vielleicht kann webtoffe einfach diese simple funktion im import programmieren.
Danke
Grüße
Jessica
Hema
September 18, 2024
Hello Jessica,
Thanks for reaching out. Currently, the plugin deletes the products that are not in the CSV. We understand that your requirement is actually the inverse of this. We can help you with a customized code snippet to meet your requirement. Kindly contact customer support to get the code.
Matt Kerwick
March 6, 2024
Is there an update on the features discussed in the comments here. I need to remove a lot of products.
I would also like to know what happens to the images. We need to remove all associated images with each deleted product. How can we do this?
Hema
April 2, 2024
Hello Matt,
Thanks for reaching out. The discussed feature is not developed yet. Instead, importing the CSV file after changing the post_status column data to “trash” will be a workaround.
Note: Please make sure that the ID or SKU of the product is the same on the product page and in the CSV file.
There is another option in our pro version where user can delete the products which are in the store that are not present in the CSV file.
Ralph
March 24, 2022
“Delete non-matching products from store” option is no longer in latest version of the plugin
Alan
March 24, 2022
Hi,
The option is still present in the plugin. Can you please share the plugin version installed on your site?
Vithlesh
August 22, 2021
Hii I want to delete product when I scan QR code of product through mobile, so it should delete the product directly from woocomerce database. Is it possible? If yes, than please share its solution on my mail.
vithlesh14@gmail.com
Mark
August 25, 2021
Hi,
You can delete certain products from the site by not including them in the CSV file and then import the CSV file with the Delete non-matching products from store option enabled so that all the products that are not in the SV file will be deleted. Please make sure that you either include ID or SKU in the CSV file and is mapped.
Kristian Brown
August 14, 2020
This is almost 100% the opposite way I’d want to remove products in bulk – by uploading all the details of the ones I want to keep?
I searched everywhere to find somewhere to help me delete products based on a list of SKUs given to me by a shop manager. In the end I’ve written some simple instructions using SQL to convert SKU’s to post_ids then clean up the post table and post_meta tables. I’ve shared it here; https://kristianbrown.co.uk/delete-woocommerce-products-using-skus/
Phil Birnie
October 22, 2020
I agree – it would be great if you could upload a CSV with a single column of SKUs and it would delete that set.
Alan
October 22, 2020
Hi,
Thank you for your valuable suggestion. We have included it in our development backlogs and will try to implement it in the upcoming releases.
Christian Brand
November 4, 2021
Is this feature already implemented? Currently this is exactly what I need 🙂
Alan
November 9, 2021
Hi,
Sorry to say that this feature is not yet implemented. Currently you can delete the products that are in the CSV file by setting the post_status as “trash” and those products will be moved to the trash.