Conditional Add to Cart for WooCommerce
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
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