| Hook | actionProductCancel |
|---|---|
| Locations | FO |
| Type | action |
| Origin | core |
| Aliases | [cancelProduct] |
| Description | This hook is called when you cancel a product in an order |
This hook has a $check_exceptions parameter set to false (check permission exceptions, see explaination here).
Hook::exec('actionProductCancel', ['order' => $order, 'id_order_detail' => (int) $orderDetail->id_order_detail, 'cancel_quantity' => $qty_cancel_product, 'action' => CancellationActionType::CANCEL_PRODUCT], null, false, true, false, $order->id_shop)