wpsc_coupon_rule_property_options

Located in: admin-form-functions.php

Functions that call this hook: wpsc_coupons_conditions()
Arguments Accepted: none
Version Introduced: 3.8

Description: This filter is triggered when the coupon condition list is displayed, you could use this hook to add an additional option (coupon condition) to the select box.

Code in context:
[php firstline=”121″ highlight=”126″]
<select class="ruleprops" name="rules[property][]">
<option value="item_name" rel="order">’ . __( ‘Item name’, ‘wpsc’) . ‘</option>
<option value="item_quantity" rel="order">’ . __( ‘Item quantity’, ‘wpsc’) . ‘</option>
<option value="total_quantity" rel="order">’ . __( ‘Total quantity’, ‘wpsc’) . ‘</option>
<option value="subtotal_amount" rel="order">’ . __( ‘Subtotal amount’, ‘wpsc’) . ‘</option>
‘ . apply_filters( ‘wpsc_coupon_rule_property_options’, ” ) . ‘
</select>

[/php]