Warning: You are browsing the documentation for PrestaShop 8, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page
Hook | actionAdminOrdersTrackingNumberUpdate |
---|---|
Locations | BO |
Type | action |
Origin | core |
Aliases | |
Description | This hook allows you to execute code after the unique tracking number for the order was added |
Origin | File |
---|---|
core | src/Adapter/Order/CommandHandler/UpdateOrderShippingDetailsHandler.php |
<?php
array(
'order' => (Order),
'customer' => (Customer),
'carrier' => (Carrier)
);
Hook::exec('actionAdminOrdersTrackingNumberUpdate', [
'order' => $order,
'customer' => $customer,
'carrier' => $carrier,
], null, false, true, false, $order->id_shop)