This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Conditional Add to Cart for WooCommerce

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.

600+ active installs
4.7
(7 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Conditional Add to Cart for WooCommerce running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
4 days ago
At least 2.2 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.2
Your host must be running at least this version.
Requires WordPress
5.0
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

600+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Conditional Add to Cart for WooCommerce is looked after — not on how many stores run it.

95

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 4 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
11 / 15
4.7/5 across 7 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-02 from the WordPress.org plugin registry.
Ratings

4.7

7 ratings
5★6
4★0
3★1
2★0
1★0
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

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

User Conditions:

  • User Role – Target by WordPress user role (Customer, Wholesale, Subscriber, etc.)
  • User Login Status – Logged in or guest
  • User Country – Geographic targeting (multiple countries supported)

Time Conditions (Pro):

  • Time – Daily recurring time windows (business hours, flash sales)
  • Date/Time – Specific dates and times (product launches, deadlines)
  • Day of Week – Target specific days (weekdays, weekends, etc.)

5 Powerful Actions

  1. Disable Purchase – Disable the Add to Cart button completely with optional custom message
  2. Customize Button – Change button text, colors, and add a redirect URL
  3. Replace Button – Show custom HTML, shortcodes, or alternative content
  4. Request Quote (Pro) – Display a quote form with email notifications and custom fields

Hide Price (Pro) — Any rule can optionally hide the product price. Replace it with custom text like “Login to see price” with an optional link. Combines with any action — hide price + show quote button, hide price + disable purchase, etc.

Flexible Product Targeting

  • All Products – Apply rule to entire store
  • Specific Products – Select individual products from searchable dropdown
  • Product Categories – Target entire categories (includes subcategories)
  • All Except Products (Pro) – Exclude specific products from rule
  • Specific Variations (Pro) – Target individual product variations

Smart Condition Logic

  • AND/OR logic for complex rules
  • Multiple condition groups
  • Rule priority ordering — drag & drop (Pro)

Free vs Pro

Free Version Includes

  • One rule
  • 10 conditions: product price, stock status, product tag, cart contains product, cart quantity, cart subtotal, cart total, user role, user login status, user country
  • Disable, Customize Button, and Replace Button actions
  • Product and category targeting
  • AND/OR condition logic

Pro Version Adds

  • Multi-rules system
  • Rule enable/disable toggles
  • Drag & drop rule priority ordering
  • 6 additional conditions: Product on Sale, Product Attribute, Cart Contains Category, Time, Date/Time, Day of Week
  • Hide Price toggle — hide or replace the price with custom text and optional link (combinable with any action)
  • Request Quote action with email notifications
  • Redirect URLs for Customize Button action
  • “All Except Products” targeting
  • Product variation targeting
  • Custom “not available” messages for Disable action
  • Priority email support

Upgrade to Pro →

How It Works

Step 1: Create a Rule
Give your rule a descriptive name like “Disable for Guests” or “Wholesale Quote Request”.

Step 2: Target Products (Apply to)
Select which products the rule affects: all products, specific products, or product categories.

Step 3: Set Conditions (When)
Choose when the rule should apply: user role, cart total, login status, country, and more.

Step 4: Choose Action (Then)
Decide what happens to the Add to Cart button: hide it, customize text and colors, replace with custom HTML, or show a quote form (Pro).

Step 5: Save & Test
Enable the rule and test it on your store. Toggle it off anytime without deleting.

Example Rules

Example 1: Minimum Order Amount

  • When: Cart total less than $50
  • What: All products
  • Then: Customize button text to “Minimum $50 Required”

Example 2: Members Only Products

  • When: User is not logged in
  • What: Category “Premium”
  • Then: Replace button with “Login to Purchase” link

Example 3: Country Restrictions

  • When: User country is “Canada” or “Mexico”
  • What: Specific products
  • Then: Disable Add to Cart with message “Not available in your region”

Example 4: Wholesale User Role

  • When: User role is “Wholesale Customer”
  • What: All products
  • Then: Replace Add to Cart with a Request Quote form

Theme Compatibility
Works with all WooCommerce-compatible themes including Storefront, Astra, Divi, Flatsome, OceanWP, Avada, GeneratePress, Kadence, and more.

Page Builder Compatibility
Elementor, WPBakery, Beaver Builder, Gutenberg, Oxygen.

Privacy Policy

This plugin does not collect, store, or share any personal data. All rules and conditions are stored locally in your WordPress database.

The Pro version’s Request Quote feature collects form submissions (name, email, message) which are sent to the store admin email. This data is not stored by the plugin or sent to external services.

Getting Started

How does the plugin work?

You create rules. Each rule has three parts: which products it applies to, the conditions that trigger it, and the action to take on the Add to Cart button. When a visitor meets the conditions, the action fires automatically.

How many rules can I create?

Free version: Single rule. Pro version: Multiple rules.

Common Use Cases

How do I disable the Add to Cart button for guests?

Create a rule, set the condition to “User Login Status” is “Logged out (Guest)”, and choose the “Disable Purchase” action. The button will be disabled for all non-logged-in visitors.

Can I control the Add to Cart button based on user role?

Yes. Use the “User Role” condition to target any WordPress user role — Customer, Subscriber, Wholesale, or any custom role. Combine it with any action to show different buttons per role.

How do I enforce a minimum order amount?

Use the “Cart Total” or “Cart Subtotal” condition with the “less than” operator, then use the “Customize Button” action to show a message like “Minimum $50 Required”.

Can I restrict purchases by country?

Yes. Use the “User Country” condition to target one or more countries, then disable the button or replace it with a custom message.

Features & Actions

Can I change the Add to Cart button text and color?

Yes. The “Customize Button” action lets you change the button text, background color, and text color. Redirect URL is available in Pro.

Can I replace the button with custom HTML or a shortcode?

Yes. The “Replace Button” action accepts any HTML, shortcode, or plain text — useful for login links, custom CTAs, or embedded forms.

Can I show a quote request form instead of the button?

Yes, this is a Pro feature. The quote form is fully customizable and sends email notifications to the store admin when submitted.

What happens when multiple rules match the same product?

The first matching rule wins (top to bottom). In Pro you can reorder rules by dragging and dropping them to control priority.

Compatibility

Does it work with variable products?

Yes. The plugin fully supports variable products. Pro also lets you target specific variations individually.

Will it work with my theme?

Yes, if your theme follows WooCommerce standards. Tested with 20+ popular themes including Storefront, Astra, Divi, Flatsome, OceanWP, Avada, and more.

Does it slow down my store?

No. The plugin uses minimal database queries and efficient caching. Shop pages load up to 40% faster compared to previous versions.

Pro & Support

What does the Pro version add?

Multiple rules, rule enable/disable toggles, drag & drop priority ordering, 6 additional conditions (Product on Sale, Product Attribute, Cart Contains Category, Time, Date/Time, Day of Week), Request Quote action, redirect URLs, variation targeting, and priority email support.

How do I upgrade to Pro?

Visit condicart.com to purchase a license. You’ll receive a download link and license key to unlock Pro features.

Where do I get support?

Free version: Post in our WordPress.org support forum. We monitor it daily.

Pro version: Email support with 24-hour response time on business days.

Categories
CartWholesale & B2B
Plugin details
Version1.4.0
Last updated2026-07-29 11:05pm GMT
Added2020-02-16
Requires WordPress5.0
Tested up to7.0.2
Requires PHP7.2

Tags on WordPress.org
add to cart
b2b
conditional logic
Hide add to cart
woocommerce
Alternatives
Other plugins in the same categories.
WooCommerce
7M+ installs
4.5(4,808)
Sliding Cart for WooCommerce by FunnelKit – Skip Cart & Reach WooCommerce Checkout Faster
30K+ installs
5.0(108)
CoCart – Headless REST API for WooCommerce
1K+ installs
4.9(21)
XT Ajax Add To Cart for WooCommerce
1K+ installs
4.8(30)
WPC Fly Cart for WooCommerce
10K+ installs
4.7(61)
WP Menu Cart
7K+ installs
4.8(23)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy