function webform_conditional_operator_product_quantity_greater_than in Commerce Webform 7.2
Same name and namespace in other branches
- 8 productfield.inc \webform_conditional_operator_product_quantity_greater_than()
Webform conditionals comparison callback for product fields.
1 string reference to 'webform_conditional_operator_product_quantity_greater_than'
- _commerce_webform_conditional_operator_info in ./
productfield.inc - Define conditional operators for productfields.
File
- ./
productfield.inc, line 1050
Code
function webform_conditional_operator_product_quantity_greater_than($input_values, $rule_value) {
return _commerce_webform_get_total_quantity_from_input_values($input_values) > $rule_value;
}