Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › condition for combo deal › Reply To: condition for combo deal
October 23, 2019 at 6:26 pm
#10198
Soft79
Keymaster
You can do this programatically by using this filter:
add_filter( 'wjecf_free_product_amount_for_coupon', function( $coupon_qty, $coupon ) {
//calculate the quantity and return it...
return $coupon_qty;
}, 10, 2 );