Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › autocoupon miscalculation (unexpectedly issued one more free item) › Reply To: autocoupon miscalculation (unexpectedly issued one more free item)

#17560
Soft79
Keymaster

This complex rule is not possible out of the box. If you’re comfortable with PHP you can use the wjecf_free_products_to_apply_for_coupon filter to configure this rule. In this filter you can check the cart contents and set the amount of free products programatically.