Disable coupons if specific products are in the cart
I would like to be able to stop any coupon being applied to the cart if certain items are in the the shopping cart.
I would like to be able to filter by WP_Query so let’s say a product has gift wrap applied, I don’t want a valid coupon to be applied to the cart if the product has that option attached.
Is there a way to do it and can someone help me with it ?
I look forward to your reply.
- The topic ‘Disable coupons if specific products are in the cart’ is closed to new replies.