Lifetime License!
Auto-cancels WooCommerce orders based on configurable rules — no manual intervention required. Twelve independent conditions, evaluated with OR logic, let you target exactly the orders you want cancelled automatically.
Features
- Rule-based: twelve independent conditions, evaluated with OR logic
- Developer-friendly: every rule is filterable with a dedicated
apply_filters hook
- Built-in logging via the WooCommerce logger (WooCommerce → Status → Logs)
- Settings page nested under the WooCommerce admin menu
- Zero bloat — no external dependencies beyond WooCommerce
Configuration
Settings are organised into four tabs.
Products Tab
- Product Categories — Auto-cancels if all items on the order belong to one of the selected categories.
- Product Tags — Auto-cancels if all items on the order carry one of the selected tags.
- Product Types — Auto-cancels if all items match one of the selected product types (e.g. simple, variable).
- Specific Products — Auto-cancels if all items are from the selected product list.
Fulfillment Tab
- No Shipping Required — Auto-cancels orders that don’t require shipping (all items are virtual/downloadable, or no shipping line items).
- Shipping Classes — Auto-cancels orders where all products belong to one of the selected shipping classes.
- Auto-Cancel Renewals — Auto-cancels WooCommerce Subscriptions renewal orders. Requires the WooCommerce Subscriptions plugin.
Payments Tab
- Payment Gateways — Auto-cancels if the order was paid with one of the selected gateways.
- Free Orders — Auto-cancels orders with a $0.00 total.
- Order Total Range — Auto-cancels orders whose total falls within a configured min/max range.
- Coupon Codes — Auto-cancels orders that contain any of the selected coupon codes.
General Tab
- User Roles — Auto-cancels if the customer’s account holds one of the selected roles.
- Enable Logging — Writes per-order decision logs to WooCommerce → Status → Logs.
Logging
Enable Enable Logging on the General tab. Logs are visible at WooCommerce → Status → Logs — filter by source mcw-auto-cancel-orders. Each entry records which rule triggered the cancellation, orders skipped because no rules are configured, and per-product rule failures.