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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #92907
    Tom Truesdale
    Participant

    Thank you Tom, been loving the plugin so far. I was curious if there was a way to exclude a singular product from the minimum price rule, but have the rule re-engage if they add other products to their cart. For example, my page has a minimum order of $75 but I added in a $25 charity option that I excluded in the product tab. From what I understand, If someone adds the $25 donation, they can now add other products and bypass the $75 minimum order. Is there any way for the exclusion to apply to that one item, and have the $75 minimum order kick in once they add other products to cart?

    #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 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.