WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-custom-order-status-workflow

Custom Order Status & Workflow Automation for WooCommerce

Build custom order statuses and automate WooCommerce order workflows with emails, webhooks, delayed scheduling, and import/export.

by mrshahbazdev · github.com/mrshahbazdev/woocommerce-custom-order-status-workflow · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/mrshahbazdev/woocommerce-custom-order-status-workflow/archive/refs/heads/master.zip

A modern, free WooCommerce plugin to create custom order statuses, automate order workflows, send email notifications, trigger webhooks, schedule delayed actions, and import/export statuses and rules.

Built with React 18, Vite, and Material UI (MUI) v5 for a fast, Shopify-style admin dashboard.

Keywords

custom order status, WooCommerce order status, order workflow automation, WooCommerce email notifications, order status webhook, WooCommerce scheduled actions, WooCommerce order management, status color editor, WooCommerce automation rules, import export order status, HPOS compatible

Stack

  • PHP 7.4+ / WordPress 6.0+ / WooCommerce 7.0+
  • React 18
  • Vite 5
  • Material UI (MUI) v5
  • @mui/x-data-grid

Features

Custom Order Statuses

  • Create unlimited custom order statuses with labels, descriptions, and colors.
  • Inject colored status chips into the WooCommerce admin orders list.
  • Show colored status pills on the frontend My Account > Orders table.
  • Override core WooCommerce status colors (Pending, Processing, Completed, etc.).
  • HPOS compatible.

Workflow Automation

  • Build rules that run when an order moves from one status to another.
  • Conditional logic: order total min/max, contains product ID, shipping country.
  • Recipient routing: customer, admin, shop managers, or custom CC emails.
  • Choose an email template or enter manual subject/message.
  • Visual email template editor powered by ReactQuill with {{order_id}}, {{customer_name}}, {{new_status}}, and other placeholders.

Webhooks & Scheduling

  • Trigger HTTP/HTTPS webhooks (POST, GET, PUT, PATCH, DELETE) on status change.
  • Delay workflow actions by minutes using the WordPress cron system.
  • JSON payload includes order ID, customer info, old/new status, order total, and order date.

Import / Export

  • Export all custom statuses, core status colors, workflow rules, and email templates as a single JSON file.
  • Import the same JSON to restore or migrate settings across sites.

Activity Logs

  • View a full history of every triggered workflow rule.
  • See order, status change, recipients, subject, webhook URL, and webhook response.
  • Clear old logs with one click.

Screenshots

Order Statuses

Order Statuses

Core Status Colors

Core Statuses

Workflow Automation

Workflow Automation

Email Templates

Email Templates

Visual Email Editor

New Email Template

Activity Logs

Activity Logs

Import / Export Tools

Tools

Development

npm install
npm run dev
npm run build

The Vite build outputs to assets/dist, which the PHP admin loader enqueues in WordPress.

Installation

  1. Build the React app: npm run build.
  2. Zip the plugin folder or copy it to wp-content/plugins/.
  3. Activate in WordPress admin.
  4. Go to Order Workflow in the admin menu.

REST API

All endpoints are under /wp-json/wlu-cosw/v1/ (or index.php?rest_route=/wlu-cosw/v1/ on default permalinks) and require the manage_woocommerce capability.

  • GET/POST /statuses — custom statuses
  • GET/PUT /core-statuses — core status colors
  • GET/POST /workflow-rules — automation rules
  • GET/DELETE /workflow-logs — activity logs
  • GET/POST /email-templates — email templates