Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Don’t apply other coupon discounts to a BOGO/Free product › Reply To: Don’t apply other coupon discounts to a BOGO/Free product

#15560
anthonyceo
Participant

I assume you meant the $coupon object? I don’t see that meta in the $values object.

The logical problem is that I need to know if the product has a free product coupon associated with it when it’s looping through other (non-free product) coupons. I want all other coupons to apply to everything else but the product with a free product. if I rely on _wjecf_free_product_coupon, no coupons other than the free product coupons will apply.

I can’t think of a straightforward way to do this except adding custom meta data like above. There must be another way.