WordPress plugin intelligence profile

Category Children Coupons for WooCommerce

Restrict WooCommerce coupons by product categories, with options to include or exclude child/descendant categories.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.4.1
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 6.4 · PHP 8.0
Directory statusactive
Last directory update21 Jan 20269mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Category Children Coupons for WooCommerce version 1.4.1 as active, updated 9mo ago and tested up to WordPress 6.9.

Overview

About this plugin

Category Children Coupons for WooCommerce provides a complete replacement for WooCommerce’s built-in coupon category restrictions with additional flexibility:

Include children mode: Select a parent category and all its subcategories are automatically included. With WooCommerce’s default restrictions, selecting “Clothing” only matches products directly in that category – not products in “T-Shirts” or “Trousers” subcategories. This plugin includes the entire category tree.

Exclude children mode: Match only the specific categories you select, without including subcategories. This mirrors WooCommerce’s built-in behavior but is managed within this plugin’s unified interface.

Future-proof coupons: The plugin stores your category selection and dynamically expands child categories at validation time – new subcategories are automatically included (or excluded) without editing existing coupons.

Features

  • Four category restriction fields for complete control:
  • Product categories (incl. children) – allowed categories with all descendants
  • Exclude categories (incl. children) – blocked categories with all descendants
  • Product categories (excl. children) – allowed categories only, no descendants
  • Exclude categories (excl. children) – blocked categories only, no descendants
  • Automatic subcategory handling based on your preference
  • Works alongside WooCommerce’s other (non-category coupon) restrictions
  • Customizable error messages via filter
  • AutomateWoo compatibility – category restrictions are copied when generating coupons from templates

How It Works

When you select a category in an “(incl. children)” field, the plugin automatically includes all subcategories during validation. When you use an “(excl.

children)” field, only the exact categories you select are matched. Selected categories with children included are validated at usage time, so the current children are automatically used, even if they have changed since the coupon was set up.

Filters

runthings_category_children_coupons_error_message

Customize the error message shown when a coupon fails category validation.

Parameters:

  • $message (string) – The default error message.
  • $context (array) – Contains ‘coupon’ (WC_Coupon object) and ‘type’ (‘allowed’, ‘excluded’, ‘allowed_excl’, or ‘excluded_excl’).

Example:

md on GitHub for detailed code examples.

Additional Notes

dev, copyright 2025.

dev for more WordPress plugins and resources.

Contribute or report issues at the GitHub repository.

0)

com/icon/tree-view-3894745/

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • categories
  • coupons
  • restrictions
  • subcategories
  • woocommerce
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 6.4 · PHP 8.0
Update activity21 Jan 20269mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.