Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Auto apply coupon with 0% discount › Reply To: Auto apply coupon with 0% discount

#20171
Soft79
Keymaster

Add this snippet to your child theme’s functions.php:

<?php
add_filter( 'wjecf_coupon_has_a_value', function( $has_a_value, $coupon ) { return true; }, 10, 2 );