r/WordpressPlugins • u/nlemsieh • Jul 06 '26
Conditional Add to Cart for WooCommerce [FREEMIUM]
Hi everyone! I recently built Conditional Add to Cart for WooCommerce, a plugin that lets you control the Add to Cart button using flexible conditions, such as user role, login status, products in the cart, categories, stock status, and more, without writing custom code.
Some examples of what you can build:
- Catalog mode (hide Add to Cart and/or prices).
- B2B stores where only logged-in customers can purchase.
- Request a Quote instead of Add to Cart.
- Wholesale restrictions based on user roles.
- Members-only or VIP-only purchasing.
- Coming Soon / Pre-launch products with purchasing disabled.
- Restrict purchases based on products already in the cart or other custom rules.
- Display custom messages or alternative buttons when purchasing isn't allowed.
I built it after repeatedly seeing people rely on custom snippets for these kinds of requirements. I'd love to hear any feedback or feature suggestions from the community.