Conditional Add To Cart for WooCommerce


Conditional Add to Cart plugin gives you full control over “Add to cart” button.
You can remove, customize, or replace the button based on different conditions.

Available conditions:

  • Product
  • Product category
  • Cart content
  • Cart quantity
  • Cart total
  • Cart subtotal
  • User country
  • User role
  • User session status
  • and more coming soon…

    We constantly add more conditions and actions. If you have any feature request, feel free to post it in the forum.


  • Settings page - Setup conditions
  • Settings page - Set action to perform when conditions match.


  1. Upload conditional-add-to-cart to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


جولای 6, 2022
Works first time. Flexible and simple! The only complaint I have is that it took me 2 days to find this plugin! Thank you - good work.
مې 6, 2022
The plugin was almost what we searched for. Nabil helped us to get the plugin customized to our needs. and expanded the possibilities of the plugin even matching our used Wordpress Theme! Thanks for the support and incredible plugin!
فبروري 21, 2022
I'm not fond of doing things the hard way, but I'll do anything to avoid adding another plugin. So I futzed and futzed with that stupid add-to-cart button. I wanted it NOT to show on all but one of 25 products. That's a couple hours of heartache I never want to relive. Just get this plugin. Nobody has to know. 🙂
نوومبر 26, 2021
Looked for a plugin that would allow products to only be available to buy IF the user was in a certain "role" AND they were "logged in". The conditional flexibility of the this plugin allows for this and lots of other scenarios. Great plugin - works well and would recommend it.
فبروري 21, 2020
The best way to customize the add to card button Thanks!
Read all 5 reviews

Contributors & Developers

“Conditional Add To Cart for WooCommerce” is open source software. The following people have contributed to this plugin.




  • Add global theme support


  • Add support for themes with custom product pages templates
  • Declared compatibility with WooCommerce 6.3
  • Fixed “Product” rule “Not equal to” not working properly.
  • Fixed “Cart quantity” rule.


  • Stability improvements


  • Fixed “Cart total” and “Cart subtotal” condition rules.


  • Added “Cart total” and “Cart subtotal” condition rules.


  • Fixed a compatibility issue with WooCommerce 4.0
  • Added new product condition.


Initial release.