| Hook | actionUpdateQuantity |
|---|---|
| Locations | FO |
| Type | action |
| Origin | core |
| Aliases | [updateQuantity] |
| Description | Quantity is updated only when a customer effectively places their order |
Hook::exec(
'actionUpdateQuantity',
[
'id_product' => $id_product,
'id_product_attribute' => $id_product_attribute,
'quantity' => $stock_available->quantity,
'delta_quantity' => $deltaQuantity ?? null,
'id_shop' => $id_shop,
]
);