Hi, I’d like to know if it’s possible to do the following:
– I have a store where I have multiple coupons. All of them are configured for individual use only.
– There are products that come with a free gift (another product, purchasable). That means I need to create an auto-added coupon that will add that free gift to the cart…
The problem is: my customer can’t add that second free gift coupon, because all other coupons are for individual use.
I want to change that behaviour, so all free gift coupons can be used with a second individual coupon. I hope that makes sense. My store depends on that…
This requires a developer to do some custom programming using the following filters:
woocommerce_apply_individual_use_coupon (must return an array with already applied coupons that may be kept) woocommerce_apply_with_individual_use_coupon (must return a boolean whether a coupon can be applied while there are individual use coupons in the cart)