Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed May 23, 2024
1 parent ce17a91 commit 715ddeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 715ddeb

Please sign in to comment.