Disable coupons if specific products are in the cart (1 post)

  1. Sebastien Dumont
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Sebastien Dumont
  • This topic is not resolved
  • WordPress version: 3.5.2