Aliases:
Quantity update:
Quantity is updated only when a customer effectively places their order
Hook locations:
Hook type: action
Located in:
<?php
array(
'id_product' => (int) Product ID,
'id_product_attribute' => (int) Product attribute ID,
'quantity' => (int) New product quantity
);
Hook::exec(
'actionUpdateQuantity',
[
'id_product' => $id_product,
'id_product_attribute' => 0,
'quantity' => $product_quantity,
'id_shop' => $id_shop,
]
)