wpsc_coupon_compare_logic
Posted March 11, 2010 by jghazally
Description: Filter to add new coupon condition logic, gets triggered if no $c['property'] matches the default coupon logics.
- File: wpsc-includes/coupons.class.php
- Function: compare_logic()
- Arguments
- false : (boolean) Return a default value of false. The coupon logic will override with a value of true if the coupon can be applied.
- $c : (array) Coupon Condition logic
- $product_obj : (object) Product Info
- Return: (boolean) Apply coupon?
Leave a response