How can I exclude minimum amount if a particular product is added to the cart?

Forums Order Minimum/Maximum Amount for WooCommerce How can I exclude minimum amount if a particular product is added to the cart?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #92908
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Tom,

    There may be a number of ways to do that with our plugin, but first one that comes to mind – instead of adding your charity product to “Individual Products > Exclude”, you could add all your other products to “Individual Products > Require”. This way the amount rules will be applied only if there is at least one non-charity product in the cart. Or even better, instead of using “Individual Products” section, you could assign all your non-charity products to some category (or tag), and then add it to our “Product Categories > Require” (or “Product Tags > Require”). Hope you get the idea.

    Please give it a try and let me know if that’s good enough.

    #92909
    Tom Anbinder
    Moderator
    Plugin Support

    Hi again, Tom,

    It looks like I’ve made a mistake, sorry about that. In my previous message, I wrote that “… the amount rules will be applied only if there is at least one non-charity product in the cart…” – this is not correct, and actually the rules will be applied only if all products in the cart will be “non-charity”. Now we’ve just released a new plugin version (v3.3.0), where you will find new “Validate all products” checkbox in “WooCommerce > Settings > Order Min/Max Amount > Products”. It’s enabled by default, but if you disable it, then the plugin will behave as I’ve described previously (i.e. only one product has to be non-charity for rules to be applied).

    Please give it a try and let me know what you think.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.