diff --git a/src/CommerceAdmin.php b/src/CommerceAdmin.php index 69b3364..f7361aa 100644 --- a/src/CommerceAdmin.php +++ b/src/CommerceAdmin.php @@ -84,17 +84,18 @@ public function render(string $csrf = '', ?string $notice = null, ?string $statu $html = '
Orders reserve stock against Inventory. ' - . 'Place an order below and advance it with the buttons, or drive the lifecycle over MCP.
' - . $this->datalist($skus) - . $this->placeForm($csrf); + . 'Advance an order with its buttons, place a new one below, or drive the lifecycle over MCP.' + . $this->datalist($skus); + // Lead with the orders list + filter, so changing the filter (a page load) + // lands here on the list — not scrolled up to the place form. $html .= $this->statusFilter($status); if ($orders === []) { $html .= $status === null - ? 'No orders yet. Place one above, or with the shop_place_order tool.
No orders yet. Place one below, or with the shop_place_order tool.
No ' . $this->e($status) . ' orders.
'; - return $html; + return $html . $this->placeForm($csrf); } $html .= '