Hook actionOrderStatusPostUpdate
Post update of order status
Allows to be notified after order status is changed.
Hook |
actionOrderStatusPostUpdate |
Locations |
FO |
Type |
action |
Origin |
core |
Aliases |
[postUpdateOrderStatus] |
Description |
Allows to be notified after order status is changed. |
Located in
Parameters details
<?php
array(
'newOrderStatus' => (object) OrderState,
'oldOrderStatus' => (object) OrderState,
'id_order' => (int) Order ID
);
Call of the Hook in the origin file
Hook::exec('actionOrderStatusPostUpdate', [
'newOrderStatus' => $new_os,
'oldOrderStatus' => $old_os,
'id_order' => (int) $order->id,
], null, false, true, false, $order->id_shop)