From 715ddeb192bd55747b0bc0af6719d3bb605beb7d Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Thu, 23 May 2024 15:09:06 +0100 Subject: [PATCH] Update docs Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7594975..6032c95 100644 --- a/README.md +++ b/README.md @@ -423,6 +423,9 @@ The Cart extension fires the following events during the checkout process: | `admin.order.canceled` | When an order is canceled. | The `Order` model instance | | `admin.order.beforeRefundProcessed` | Before an order is marked as refunded. | The `Order` model instance | | `admin.order.refundProcessed` | After an order is marked as refunded. | The `Order` model instance | +| `igniter.cart.beforeAddOrderStatus` | Before adding an order status. | The `StatusHistory` model instance, `Order` model instance, `$statusId` status ID and the `$previousStatus` previous status ID | +| `igniter.cart.orderStatusAdded` | After an order status is added. | The `Order` model instance and `StatusHistory` model instance | +| `igniter.cart.orderAssigned` | After an order is assigned to a staff member. | The `Order` model instance and `User` model instance | Here is an example of hooking an event in the `boot` method of an extension class: