WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Nabil Lemsieh v1.4.0

Conditional Add to Cart for WooCommerce

Hide, disable, customize, or replace the WooCommerce Add to Cart button using conditional rules based on user role, cart content, country, and more.

Conditional Add to Cart for WooCommerce

The facts

Rating
4.7★ from 7
Active installs
600+
Price
Free
Last updated
27 Aug 2026
Added
Feb 2020
Requires WP
5.0
Tested up to
WP 7.1
Requires PHP
7.2
Downloads
15,706

Our analysis

AI-assisted

Conditional Add to Cart for WooCommerce is a WordPress plugin that allows you to manage the WooCommerce 'Add to Cart' button based on specific conditions. You can hide, disable, customize, or replace the button without needing to write any code. This plugin is particularly useful for stores with unique purchasing requirements, such as wholesale or B2B shops.

You can set rules to control the button's visibility and functionality based on user roles, geographic location, or minimum order amounts. This flexibility makes it suitable for various eCommerce scenarios, including membership sites and stores that require special purchasing conditions.

Best for: This plugin suits WooCommerce stores with specific purchasing requirements, such as wholesale or membership sites.

What it does well

  • No coding required to set conditions
  • Supports multiple rules for different products
  • Customisable messages for users
  • Geographic restrictions available
  • Suitable for wholesale and B2B stores

Where it falls short

  • Limited information on specific features
  • Some conditions may require Pro version

Verdict

Conditional Add to Cart for WooCommerce provides a straightforward way to manage the 'Add to Cart' button based on various conditions, making it a valuable tool for specific eCommerce needs.

From the developer

Nabil Lemsieh's own description of Conditional Add to Cart for WooCommerce, lightly tidied.

Conditionally hide, disable, customize, or replace the WooCommerce Add to Cart button — no code required.

Conditional Add to Cart lets you create rules that automatically control the “Add to Cart” button based on conditions you define. Hide the button for guests, disable it until a minimum order is met, replace it with a quote form for wholesale customers, or restrict purchases by country or user role.

Perfect for wholesale stores, B2B shops, membership sites, and any WooCommerce store with special purchasing requirements.

Common Use Cases

Wholesale & B2B Stores
– Hide Add to Cart for guests, require login to see pricing
– Show “Request Quote” button for wholesale user roles
– Different buttons for different customer roles

Minimum Order Requirements
– Disable Add to Cart until cart reaches a minimum subtotal
– Show “Minimum $50 Required” message until threshold is met
– Custom messages for minimum order rules

Restrict Purchase by User Role
– Show products only to specific WordPress user roles
– “Members Only” access for logged-in users
– Different Add to Cart behavior per role

Geographic Restrictions
– Hide Add to Cart for customers in specific countries
– “Not Available in Your Region” messages
– Country-specific purchasing rules

Pre-Orders & Coming Soon
– “Pre-Order – Ships March 15” custom buttons
– “Coming Soon – Notify Me” for unreleased products
– Custom launch date messaging

Key Features

Multiple Rules System
Create multiple rules. Each rule can have different conditions, target different products, and perform different actions.

Powerful Conditions

Product Conditions:

  • Product Price – Target items within a price range
  • Product Stock Status – Target items with a defined stock status
  • Product Tag – Target items by product tag
  • Product Attribute (Pro) – Target items by any product attribute value (color, size, material, etc.)
  • Product on Sale (Pro) – Target items with active sale prices

Cart Conditions:

  • Cart Contains Product – Check if specific products are in cart
  • Cart Quantity – Total number of items in cart
  • Cart Subtotal – Cart value before tax/shipping
  • Cart Total – Final cart value including tax/shipping
  • Cart Contains Category (Pro) – Check if category products are in cart

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for selling online.

WooCommerce

Everything you need to launch an online store in days and keep it growing for years. From your first sale to m...

Free 7M+ installs 4.5★ (4,820)
Germanized for WooCommerce

Germanized extends WooCommerce to become a legally compliant shop for the german market. Must Have for every g...

Free 70k+ installs 4.8★ (495)