| Hook | actionCheckAttributeQuantity |
|---|---|
| Locations | FO |
| Type | action |
| Origin | core |
| Aliases | |
| Description | Allows modules to validate or override the stock availability check for a specific product combination. |
This hook has a $check_exceptions parameter set to false (check permission exceptions, see explaination here).
This hook has a $chain parameter set to true (hook will chain the return of hook module, see explaination here).
| Origin | File |
|---|---|
| core | classes/ProductAttribute.php |
Hook::exec(
'actionCheckAttributeQuantity',
[
'id_product_attribute' => $idProductAttribute,
'qty' => $qty,
'shop' => $shop,
],
null,
false,
true,
false,
null,
true
);