Title: Keyword-Based Bulk Category Assignment for WooCommerce
Author: fradigital
Published: <strong>July 28, 2025</strong>
Last modified: July 29, 2025

---

Search plugins

![](https://ps.w.org/keyword-based-bulk-category-assignment-for-woocommerce/assets/
icon-128x128.png?rev=3335591)

# Keyword-Based Bulk Category Assignment for WooCommerce

 By [fradigital](https://profiles.wordpress.org/fradigital/)

[Download](https://downloads.wordpress.org/plugin/keyword-based-bulk-category-assignment-for-woocommerce.1.0.zip)

 * [Details](https://wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/keyword-based-bulk-category-assignment-for-woocommerce/)

## Description

This plugin helps you save hours of manual work when importing large batches of 
products that do not have any categories assigned. It allows you to define keyword-
based rules per category and apply them in bulk to selected products.

**Key Features:**
 – Create flexible keyword rules per category. – Supports “OR”
logic by default and “AND” logic via special syntax. – Exclude products via “Not
Contains” keywords. – Bulk-apply rules to selected products in the Products list.–
Import and export rules as JSON files for backup and transfer.

**How It Works**

**1. Create and Save Rules**

1.1. Go to **WooCommerce > Keyword Category Rules**.
 1.2. For each existing category,
enter: – **Contains:** keywords separated by commas (example: `shoes, sneakers`).–**
Not Contains:** keywords that should exclude a product (example: `damaged, used`).
1.3. To require multiple words to appear together, use `"AND"` (with “”) between
them: – Example: `shoes "AND" leather` matches titles containing both “shoes” and“
leather”. 1.4. Save your rules.

**2. Apply Rules to Products**

2.1. In the WooCommerce Products (All products) list, select the products you want
to process.
 2.2. In the **Bulk Actions** menu, choose **Apply Keyword-Based Category
Rules**, then click **Apply**. 2.3. The plugin will evaluate all selected products,
assign matching categories, and show a success notice.

**Limitations:**
 – This plugin does not automatically assign categories to new 
products when they are created or imported. The assignment must be triggered manually
via Bulk Actions. – The matching is performed against the **product title only**.–
Currently, the plugin works in one direction only: it **adds** categories to products
based on matching keyword rules, but it does **not remove** any previously assigned
categories when the keywords are removed or changed. This means: If you remove a
keyword from a rule or replace it with a different one, the plugin will not remove
previously applied category assignments from affected products. Once a rule has 
been applied, its effects remain in place unless manually adjusted via the product
edit screen or other third-party tools.

### License

This program is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

## Screenshots

[⌊Managing category keywords under WooCommerce > Category Auto Rules. This is where
you define relevant keywords for each existing product category. Rules support both
inclusion and exclusion criteria, based on product titles.⌉⌊Managing category keywords
under WooCommerce > Category Auto Rules. This is where you define relevant keywords
for each existing product category. Rules support both inclusion and exclusion criteria,
based on product titles.⌉[

Managing category keywords under **WooCommerce > Category Auto Rules**. This is 
where you define relevant keywords for each existing product category. Rules support
both inclusion and exclusion criteria, based on product titles.

[⌊Selecting the products to be processed (e.g. uncategorized products or items that
should receive additional categories) in the product list. The defined rules can
then be applied via the Bulk Actions dropdown menu.⌉⌊Selecting the products to be
processed (e.g. uncategorized products or items that should receive additional categories)
in the product list. The defined rules can then be applied via the Bulk Actions 
dropdown menu.⌉[

Selecting the products to be processed (e.g. uncategorized products or items that
should receive additional categories) in the product list. The defined rules can
then be applied via the **Bulk Actions** dropdown menu.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` or install via the WordPress
    Plugin Installer.
 2. Activate the plugin.
 3. Go to **WooCommerce > Keyword Category Rules** to configure and save your keyword
    rules.
 4. Apply rules to selected products on **Products (All products) page**

## FAQ

### How are keywords evaluated?

 * All keywords in **Contains** are evaluated with OR logic.
 * You can enforce AND logic by separating words with `"AND"`.
    - Example: `red "AND" shoes` matches only if both “red” and “shoes” are in the
      title.

### What happens if a product matches multiple categories?

 * All matching categories will be assigned simultaneously.

### Can I undo an assignment?

 * No automatic undo is provided. You can manually remove categories from products
   in the WooCommerce Product Edit screen.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Keyword-Based Bulk Category Assignment for WooCommerce” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ fradigital ](https://profiles.wordpress.org/fradigital/)

“Keyword-Based Bulk Category Assignment for WooCommerce” has been translated into
2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/keyword-based-bulk-category-assignment-for-woocommerce/contributors)
for their contributions.

[Translate “Keyword-Based Bulk Category Assignment for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/keyword-based-bulk-category-assignment-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/keyword-based-bulk-category-assignment-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/keyword-based-bulk-category-assignment-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/keyword-based-bulk-category-assignment-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/keyword-based-bulk-category-assignment-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Last updated **12 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.8.6**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/),
   [English (US)](https://wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/),
   and [Russian](https://ru.wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/keyword-based-bulk-category-assignment-for-woocommerce)
 * Tags
 * [automation](https://wordpress.org/plugins/tags/automation/)[keywords](https://wordpress.org/plugins/tags/keywords/)
   [product categorization](https://wordpress.org/plugins/tags/product-categorization/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/keyword-based-bulk-category-assignment-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/keyword-based-bulk-category-assignment-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/keyword-based-bulk-category-assignment-for-woocommerce/reviews/)

## Contributors

 *   [ fradigital ](https://profiles.wordpress.org/fradigital/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/keyword-based-bulk-category-assignment-for-woocommerce/)