Function Module_purchase->_is_filtered_out
Definitions
site/pages/modules/purchase.php
- See if a product is filtered out.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$product_object | object | required parameter | N/A | N/A | The product object |
$type_code | ID_TEXT | required parameter | N/A | N/A | The product codename |
$details | array | required parameter | N/A | N/A | The product details |
$filter | string | required parameter | N/A | N/A | Filter prefix |
$type_filter | ?integer | required parameter | N/A | N/A | Filter by eCommerce type (null: no filter) |
$must_support_money | boolean | required parameter | N/A | N/A | Filter out products that don't support money |
$must_support_points | boolean | required parameter | N/A | N/A | Filter out products that don't support points |
Return
- Is filtered
- Type: boolean
- Set: N/A
- Range: N/A