Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Soft79

    (@josk79)

    My plugin is not compatible out-of-the-box with the Free Gift plugin. Please add the following snippet to your themes functions.php:

    add_filter( 'wjecf_coupon_has_a_value', function( $has_a_value, $coupon ) {
      $has_a_value = $has_a_value || WJECF()->coupon_is_type( $coupon, array( 'free_gift' ) );
      return $has_a_value;
    }, 10, 2);

    That will fix it for you.

    Thread Starter studioluminous

    (@studioluminous)

    Your response time was amazing. Thank you, that worked perfectly.

    Plugin Author Soft79

    (@josk79)

    Yeah, I was waiting for your question ??

    You can leave a review here, thanks in advance!

    Thread Starter studioluminous

    (@studioluminous)

    You got it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘auto add not working’ is closed to new replies.