github shopperlabs/shopper v2.6.3
v2.6.3: Order Process Workflow Fixes

8 hours ago

Highlights

Order Status Transitions to Processing on Shipment Pickup

Previously, recording a PickedUp shipment event had no effect on the parent order's status. An order created with OrderStatus::New would stay New indefinitely even after the carrier collected the parcel. RecordShipmentEventAction now checks whether the order is still in New status and, if so, transitions it to OrderStatus::Processing before calling SyncOrderShippingStatusAction. The transition is intentionally guarded — only orders in New state are promoted, so orders already in Processing (e.g. after a payment capture) are untouched.

$order = $shipment->order;

if ($order->status === OrderStatus::New) {
    $order->update(['status' => OrderStatus::Processing]);
}

(new SyncOrderShippingStatusAction)->execute($order);

Fulfillment Component Re-renders After Shipping Label Creation

The Fulfillment component's render() method now listens for the order.shipping.created Livewire event in addition to the existing order.updated. Before this fix, creating a shipping label from the slide-over would close the panel without refreshing the fulfillment step indicator, leaving the UI out of sync with the database until the page was reloaded manually.

#[On('order.updated')]
#[On('order.shipping.created')]
public function render(): View

ShipmentTimeline Component Removed

The standalone ShipmentTimeline Livewire component and its corresponding Blade view have been removed. The timeline is now displayed inline inside the ShipmentDetail slide-over, which was already the primary surface for managing shipment events. The order-shipment-timeline key has been removed from config/components/order.php. If you were referencing this component alias in a custom view or addon, switch to the ShipmentDetail slide-over instead.


Manage Icon and Tooltip on Shipment List Action

The view action in the shipments list table has been updated from a plain eye icon (Eye) with a "Details" label to a sliders icon (Sliders) with a "Manage shipment" label and a tooltip. This makes the action's purpose clearer at a glance without requiring a visible label in the table row.


Bug Fixes

  • fix(orders): transition order status to processing on shipment pickup by @mckenziearts in #443
  • fix(orders): re-render fulfillment on shipping label creation by @mckenziearts in #443

Features

  • feat(orders): use manage icon and tooltip on shipment list action by @mckenziearts in #443

Refactoring

  • refactor(orders): remove unused ShipmentTimeline component by @mckenziearts in #443

Don't miss a new shopper release

NewReleases is sending notifications on new releases.