RT Product Cleanup – Bulk Delete Products for WooCommerce

By raintech357

40+ active installationsVersion 3.0.0

Bulk delete WooCommerce products by category, attribute, product meta, ACF field, SKU, stock, price, sales or duplicates. Preview and back up first.

Description

Bulk Delete Products for WooCommerce (Raintech Product Cleanup) is a WooCommerce admin tool that finds exactly the products you want to remove and deletes them safely in batches. You build filters, click Find products, review the list, untick anything you want to keep, download a CSV backup, and confirm.

It is made for stores with hundreds or thousands of products: old imports, discontinued items, duplicate listings, products that never sold, products missing images or prices, or catalogs that need a clean start.

What can this plugin do?

  • Delete WooCommerce products in bulk – move them to the Trash or delete permanently.
  • Filter by product meta (custom fields) – any post-meta key, 21 comparison operators, text / number / decimal / date / time comparison, key autocomplete, wildcards for repeater rows.
  • Filter by ACF (Advanced Custom Fields) – pick a field and the operators adapt to its type: text, number, true/false, select, checkbox, relationship, image, file, date, date-time, time, repeater row count and repeater sub-fields.
  • Filter by product attributes – global attributes (Color, Size…), any custom product taxonomy, and custom per-product attributes by name and value.
  • Filter by category, tag, brand and shipping class – has any, all or none of the selected terms, include sub-categories, or products with no term at all.
  • Find products that never sold – filter by never ordered, ordered, number of order items or units sold.
  • Find duplicate products – same title, same title and price, or titles that differ only by “(2)” or “Copy”; keep the oldest, newest, lowest or highest ID.
  • Preview before deleting – table with image, SKU, price, type, status, stock, categories, past orders and date.
  • Export a CSV backup of the matched products, including the meta and ACF columns you filtered on.

Every filter, by tab

General

  • Status: published, draft, pending, private, scheduled, trash
  • Product type, catalog visibility (shop / search / hidden), featured
  • Title: contains, does not contain, starts with, ends with, exact, list, regex
  • Keyword search, created date range, modified date range
  • “Created more than N days ago” and “not edited for N days”
  • Author, password protected, has featured image, has gallery, has description, has short description

Categories & Attributes

  • Categories, tags, brands, shipping class
  • Global attribute rules: has any of, all of, none of, has any value, has no value
  • Custom (per-product) attribute rules: has attribute, value equals, value contains

Inventory

  • Stock status, backorders, stock management, stock quantity range
  • Sold individually, number of variations (find variable products with none)

Pricing & Sales

  • Current, regular and sale price ranges, has a price
  • On sale now, not on sale, sale scheduled, sale schedule ended
  • Units sold, never ordered / has been ordered, number of order items
  • Average rating, number of reviews, reviews enabled
  • Tax status and tax class

Product Data

  • SKU: contains, starts with, ends with, exact, list, regex, plus variation SKUs
  • GTIN / UPC / EAN / ISBN, external product URL
  • Virtual, downloadable, weight, length, width, height
  • Has upsells, cross-sells, purchase note

Custom Fields (Meta & ACF)

  • Unlimited meta rules and ACF rules with AND / OR logic
  • Operators include equals, not equals, greater / less than, between, in list, contains, starts / ends with, regex, exists, does not exist, is empty, is not empty

Advanced

  • Only these IDs / never include these IDs (ranges like 40-55 allowed)
  • Duplicate finder, sorting, skip and limit (for example, keep the 100 newest and delete the rest)

Built to prevent mistakes

  • Review first – nothing is deleted until you search, review and confirm.
  • Untick individual products – select all, none or invert, with pagination.
  • Stale-result protection – if you change a filter after searching, Delete is disabled until you search again.
  • Typed confirmation – permanent deletion requires typing DELETE.
  • Order warning – you are told how many selected products appear in past orders.
  • CSV backup before deleting.
  • Images handled carefully – media is only removed for permanent deletes, and never if another product still uses it.
  • Batch processing – adjustable batch size, progress bar and a Stop button, so large catalogs do not time out.
  • Presets – save and reuse filter sets.
  • History – log of the last 50 bulk operations, with the filters used.
  • Permissions – requires the delete_products capability and checks each product.

Works with

  • WooCommerce (required), including High-Performance Order Storage (HPOS)
  • ACF free and ACF PRO (optional)
  • Any plugin that stores product data in post meta or product taxonomies

Hooks for developers

  • rtbd_query_args – filter the WP_Query arguments before the lookup
  • rtbd_matched_ids – filter the final list of matched product IDs
  • rtbd_before_delete_product – action fired before each product is removed

The admin screen is a React app (its own bundled React) compiled with @wordpress/scripts. Source is in src/, compiled output in build/.

Support

Need help? Contact us at https://raintech.pages.dev/contact

Installation

  1. Make sure WooCommerce is installed and active.
  2. Upload the plugin folder to /wp-content/plugins/, or install it from Plugins → Add New.
  3. Activate Bulk Delete Products for WooCommerce.
  4. Open WooCommerce → Bulk Delete Products.
  5. Set your filters, click Find products, review the list, then delete.

FAQ

How do I bulk delete WooCommerce products?

Go to WooCommerce → Bulk Delete Products, choose your filters (for example a category, a status or a price range), click Find products, check the list, and click Delete. Products are moved to the Trash by default.

How do I delete WooCommerce products by custom field or product meta?

Open the Custom Fields (Meta & ACF) tab, add a meta rule, type the meta key (it autocompletes from keys your products use), pick an operator such as equals, contains, is empty or between, and enter a value. Then click Find products.

Can I delete products by ACF field value?

Yes. With ACF active, open the Custom Fields tab, add an ACF rule and choose the field. The operators and value input change with the field type, for example “is after” for date fields or “includes” for checkbox fields.

How do I delete products by attribute, such as color or size?

Open Categories & Attributes, add an attribute rule, choose the attribute (for example Color), choose “has any of”, and pick the terms. For attributes typed directly into a product, use the custom attribute rules.

How do I delete WooCommerce products that were never sold?

Open Pricing & Sales and set Order history to “Never ordered”. You can combine it with other filters, such as “not modified for 365 days”.

How do I delete duplicate WooCommerce products?

Open Advanced, choose a duplicate mode (same title, same title and price, or ignoring “(2)” / “Copy”), and choose which product to keep. Only the extra copies are selected.

How do I delete all products without images, prices or SKUs?

Use the General tab for “Has featured image = No”, the Pricing tab for “Has a price = No”, or the Product Data tab for “Has SKU = No”.

Can I keep the newest 100 products and delete the rest?

Yes. In Advanced, sort by date created (newest first), set Skip to 100, then run the search.

Can I undo a bulk delete?

Products moved to the Trash can be restored from the Trash. Permanent deletion cannot be undone, which is why it requires typing DELETE and offers a CSV backup first. Take a full database backup before large permanent deletions.

Will it delete product images from the Media Library?

Only if you enable the image option, only for permanent deletes, and never for an image that another product still uses.

What happens to variations?

Deleting a variable product also deletes its variations, using WooCommerce’s own delete routine.

What happens to past orders?

Order history is kept. Order items for deleted products remain but no longer link to a product. The tool warns you how many selected products appear in orders.

Is it safe on a large store?

Yes. Products are listed first and then deleted in batches (default 25, adjustable up to 200) with progress and a Stop button.

Does it work with HPOS (High-Performance Order Storage)?

Yes, compatibility is declared. Order history checks read WooCommerce’s order item tables.

Who can use it?

Users with the delete_products capability, such as administrators and shop managers. Each product is also checked with delete_post.

Does the plugin send data to external services?

No. Everything runs on your own site. It makes no external requests.

Where is the plugin’s data stored?

Saved presets are stored in user meta and the history log in one option. Both are removed when you delete the plugin.

Screenshots

Changelog

3.0.0

  • New: admin screen rebuilt in React.
  • New: product meta rule builder, ACF rule builder, global and custom attribute filters.
  • New: about 70 additional filters (SKU, GTIN, inventory, sale status, order history, reviews, dimensions, tax, visibility, authors, dates, duplicates, ID lists, sorting, skip and limit).
  • New: preview with per-product selection and pagination, CSV export, presets, history, typed confirmation, order warning.
  • Fix: price filters now compare decimals correctly (9.50 was previously truncated to 9).
  • Fix: batched deletion no longer skips products.
  • Fix: images are no longer deleted when products are only moved to the Trash, or when still used by other products.
  • Requires WordPress 5.9 or later.

2.0.0

  • Rebuilt the bulk delete interface with filters, preview table, batch processing and optional image deletion.