Conditional Add To Cart for WooCommerce
Conditional Add To Cart for WooCommerce
Description
The “Conditional Add to Cart” plugin allows you to control the visibility and behavior, as well as customize the appearance and content of the “Add to cart” button in WooCommerce based on a set of conditions. This gives you greater control and flexibility over how the button behaves and appears in your WooCommerce store.
You can trigger actions such as disabling or enabling the button, or changing its text and appearance. You can even replace the button entirely with your own custom HTML or shortcode.
NOTE: More conditions and actions will be added in future updates, so if you have any feedback or feature requests, please feel free to share them on our forum
Installation
- Upload
conditional-add-to-cartto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Screenshots
Reviews
It does not work for out of stock
By zedjames on August 8, 2025
As others have mentioned it does not work for out of stock products despite that being explicitly stated in the description
Does not work at out-of-stock products
By MonteCito on January 23, 2025
Description says "you can disable button if product is out of stock" but there is nothing about this on settings. Misleading decription.
What a pleasure!!
By Hercu (Hercul56) on July 6, 2022
Incredible support
By visimotion on May 6, 2022
Do it the hard way, or get the plugin!
By suzyloonam on February 21, 2022
Does the job and very flexible
By Jonathan Camp (nampara17) on November 26, 2021
Nice work !
By Tssamt on February 21, 2020
Changelog
0.2.5
- Declare compatibility with High-Performance Order Storage (HPOS)
- Declare compatibility with WooCommerce v8.7 and WP v6.5
0.2.4
- Add global theme support
0.2.3
- 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.
0.2.2
- Stability improvements
0.2.1
- Fixed “Cart total” and “Cart subtotal” condition rules.
0.2.0
- Added “Cart total” and “Cart subtotal” condition rules.
0.1.1
- Fixed a compatibility issue with WooCommerce 4.0
- Added new product condition.
0.1.0
Initial release.

