johnhenry / craft-order-lifecycle
A full event timeline, store analytics and AI insights for every Craft Commerce order.
Package info
github.com/john-henry/craft-order-lifecycle
Language:HTML
Type:craft-plugin
pkg:composer/johnhenry/craft-order-lifecycle
1.0.2
2026-07-06 16:03 UTC
Requires
- php: ^8.2 || ^8.3 || ^8.4
- craftcms/cms: ^5.0
- craftcms/commerce: ^5.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
This package is auto-updated.
Last update: 2026-07-06 16:04:17 UTC
README
Order Lifecycle for Craft Commerce
Keeps track of every event in a Craft Commerce order's journey, from the first cart through to payment, refund and beyond, with a timeline view and analytics to go with it.
Features
- Event tracking – Records every stage of an order automatically: cart created, line items added or changed, coupons applied, addresses set, shipping method chosen, payments attempted, captured and refunded, emails sent or failed, and status changes
- Timeline view – A clear, filterable timeline of the whole order journey on the order's own edit screen, with each event showing exactly what changed since the one before it
- Order snapshots – Every event stores a full snapshot of the order at that moment, so you can see the state it was in when anything happened
- Store statistics – Conversion rate, abandonment, average cart value, checkout and completion times, payment retries and email success, over the period you choose
- AI insights – On-demand summaries of a single order or your whole store, written by Claude, calling out the anomalies and what's worth acting on (bring your own Anthropic API key)
- Dashboard widgets – A stats widget and an AI insights widget for the Craft dashboard
- CSV export – Export lifecycle events for a date range or specific orders, with your own choice of columns, for analysis in a spreadsheet or BI tool
- Order field – A summary field showing an order's key conversion metrics at a glance
- Log maintenance – Auto-prune old logs on a schedule, or purge them from the command line, so the table never runs away on you
- Native UI – Fits right into the Craft control panel, keyboard and screen-reader friendly
Perfect for
- Tracking the full lifecycle of every Craft Commerce order
- Diagnosing checkout friction, payment failures and cart abandonment
- Surfacing store-wide conversion and payment analytics with AI insights
Documentation
Full documentation is at https://johnhenry.ie/plugins/order-lifecycle/
Requirements
- Craft CMS 5.0 or later
- Craft Commerce 5.0 or later
- PHP 8.2 or later
Support
For support, drop by the GitHub Issues page.
License
Proprietary - Copyright (c) 2026 John Henry Donovan