Skip to content

Add a "Delivered" order status - #257

Merged
duncanmcclean merged 6 commits into
1.xfrom
add-delivered-order-status
Jul 24, 2026
Merged

Add a "Delivered" order status#257
duncanmcclean merged 6 commits into
1.xfrom
add-delivered-order-status

Conversation

@duncanmcclean

Copy link
Copy Markdown
Owner

This pull request adds a "Delivered" order status, sitting after "Shipped" in an order's lifecycle.

Previously, orders could only move as far as "Shipped", with no way to record that they'd actually arrived. This PR adds a Delivered case to the OrderStatus enum, along with a matching OrderDelivered event that's dispatched when an order moves into that status.

Like "Shipped", the "Delivered" status is only offered for orders with a shipping method, and the tracking number and packing slip remain available in the Control Panel once an order has been delivered.

This PR also updates the Simple Commerce migration command, so delivered orders keep their status instead of being collapsed into shipped – both on the order itself and its timeline events.

Related: #252

duncanmcclean and others added 6 commits July 24, 2026 17:20
Adds a `Delivered` case to the `OrderStatus` enum, alongside a matching
`OrderDelivered` event. Like `Shipped`, it's only offered for orders with a
shipping method, and the control panel keeps the packing slip and tracking
number available once an order has shipped or been delivered.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Simple Commerce's `delivered` orders were being collapsed into `shipped`
during migration. Now that Cargo has a `delivered` status, the distinction
is preserved on both the order status and its timeline events.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Duncan McClean <duncan@doublethree.digital>
@duncanmcclean
duncanmcclean merged commit 9caf49f into 1.x Jul 24, 2026
14 checks passed
@duncanmcclean
duncanmcclean deleted the add-delivered-order-status branch July 24, 2026 17:55
@github-actions

Copy link
Copy Markdown

Released as part of v1.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant