Linux 软件免费装
Banner图

Category Notifications for WooCommerce

开发者 jonashjalmarsson
更新时间 2026年5月4日 21:12
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce product category stock notification low stock email out of stock alert

下载

2.1.0 2.2.0 2.2.1

详情介绍:

WooCommerce sends stock notifications to a single store-wide email address. Category Notifications for WooCommerce lets you route those notifications to additional recipients based on the product's category — so the right people get notified about the right products. Need your supplier to know when their products are running low? Want your warehouse manager to receive alerts only for items in their section? Have multiple category owners who each need to track their own range? This plugin makes that effortless. Why use this plugin Features How it works
  1. Configure rules at WooCommerce → Category notifications: pick one or more include categories, optionally pick sub-categories to exclude, and enter the email addresses that should be notified.
  2. When a product reaches low stock or sells out, the plugin checks the product's categories (and parent categories) against your rules.
  3. Matching rules fire and their email addresses receive a clear notification with the product name, current stock, and a link to edit the product.
This runs on top of WooCommerce's existing low-stock / out-of-stock hooks, so it respects all your normal stock-notification settings (thresholds, manage-stock, etc.).

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install via the Plugins → Add New screen in WordPress.
  2. Activate Category Notifications for WooCommerce through the Plugins menu.
  3. Make sure WooCommerce is active and that stock management and low-stock / out-of-stock notifications are enabled in WooCommerce → Settings → Products → Inventory.
  4. Go to WooCommerce → Category notifications to add your rules.

屏幕截图:

  • Adding a new rule with multiple include categories and sub-category excludes.
  • Example low-stock notification email received by a category recipient.

升级注意事项:

2.1.0 Renamed plugin slug, hardened settings save, tested up to WP 6.9. Existing rules migrate automatically. 2.0.2 Developer extension hooks for add-on plugins. 2.0.1 Declares HPOS compatibility. 2.0.0 Multi-include, sub-category excludes, select2 UI, hierarchical dropdown, variation fix.

常见问题:

Does this replace WooCommerce's built-in stock notifications?

No. The store-wide WooCommerce notification still goes out as normal. This plugin adds extra recipients on top of that, filtered by category.

What happens if a product belongs to multiple categories?

All matching rules fire. Each rule's email addresses receive one notification per stock event. Duplicate addresses across rules are de-duplicated, so each recipient only gets one mail per product per event.

Can I exclude specific sub-categories from a rule?

Yes. Each rule has an optional "Exclude categories" field where you can pick one or more categories to skip. This is useful when you want a parent-category rule to cover most of its branch but skip specific sub-categories that are handled by a different recipient. The exclusion is hierarchical too — excluding a category also covers its descendants.

Can a single rule match multiple categories?

Yes. The "Product category" field is a multi-select. One rule can include several categories, share the same email recipients, and share the same exclude list — useful for grouping several product lines under one supplier.

If I set a rule on a parent category, does it cover child categories too?

Yes. The plugin walks the full category tree. A rule on a parent category automatically covers all its descendants, regardless of how deep the hierarchy goes.

Does it work with variable products?

Yes. When a variation triggers a low-stock or out-of-stock event, the plugin uses the parent product's categories to match against your rules. This means you only configure categories on the parent product, as you normally would in WooCommerce.

Will recipients get an email for every product they don't care about?

No. A recipient only gets emails for products in categories that match their rule. If you want a recipient to get notifications for the whole store, just add a rule on a top-level category that contains everything.

How are emails sent?

Through WordPress's standard wp_mail() function. If you have an SMTP plugin (such as WP Mail SMTP, Post SMTP, FluentSMTP), it will be used automatically.

Does this plugin store any personal data?

The configured email addresses are stored in the WordPress options table (jcnwc_rules). No customer data is collected. No external services are contacted. No telemetry.

Can I translate the plugin?

Yes. Use the jalma-category-notifications-for-woocommerce text domain. Swedish (sv_SE) is included. Pull requests for more translations are welcome.

更新日志:

2.2.1 2.2.0 2.1.2 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.0.0