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 Logic for Woo Product Add-ons

Conditional Logic for Woo Product Add-ons

Show or hide certain fields of the WooCommerce Product Addons based on other fields' values or states (eg, show field X when option Y is selected …

500+ active installs
4.0
(4 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Conditional Logic for Woo Product Add-ons running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
1 month ago
At least 5.4 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
2

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

Scored on how Conditional Logic for Woo Product Add-ons is looked after — not on how many stores run it.

93

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 44 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
9 / 15
4.0/5 across 4 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.0

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

Conditional Logic for WooCommerce Product Add-Ons is an extension to the official WooCommerce Product Add-Ons plugin. With the help of this extension, you can set up conditional logic for Add-ons fields to either show or hide them based on what the user chooses, write or upload in other fields. Also you can determine to display add-ons fields only for specific product variations.

Important links:
Premium Version Page | Demo for Plugin Testing | Plugin Documentation

Conditional Logic is designed to work with any field of Product Add-ons, and each field can have its own rules. Fields for which you set conditions can be shown or hidden if Any or All requirements are met. Conditions – set of rules of what the user (your customer) should choose, write or define in other fields. Let’s say you offer two types of Gift Wrap options (Free and paid), and you’d like to offer an ‘Add a message’ service to the Paid option only – then you set the ‘Short text’ field to be visible only when the customer chose the Paid option.
In the Premium version of the plugin you can also add conditions to show Product Add-ons field only when user select specific Product Variation. This feature can work alone or you can combine it with another conditions based on other add-ons fields output.

Types of conditions depend on the kind of field you use as the condition.

Multiple choice and Checkboxes types can be conditioned as:
Is checked – when the customer selects the needed option
Is not checked – when the customer selects or checks anything besides the specified option

Short Text and Long Text have the following condition types:
Is – text entered by a customer fully complies with your value
Is not – text entered by a customer is not the same as your value
Is empty – the customer does not enter any text
Is not empty – the customer enters any text
Text contains – text entered by the customer contains something specific anywhere in the text
Text does not contain – text entered by the customer does not contain what you specified anywhere in the text
Text starts with – text entered by the customer starts with anything specific
Text ends with – text entered by the customer ends with anything specific

File upload field type may have the following logic:
Is selected – if the customer has chosen a file to upload
Is not selected – if the customer has not chosen a file to upload yet

Customer Defined Price and Quantity are numeric types of fields, and their conditions may be:
Is – price entered by customer or selected quantity is equal to your value
Is not – price entered by customer or quantity is anything besides the value you set
Is greater than – price entered by customer or quantity is greater than the value
Is less than – price entered by customer or quantity is less than the value
Is greater than or equal – price entered by customer or quantity is greater than or equal to the value
Is less than or equal – price entered by customer or quantity is less than or equal to the value

Those conditions are available to you in the general add-ons section as well as on the product level.

Note: you should have WooCommerce Product Add-Ons plugin installed and configured.
You can find detailed instructions on how to hide and show WooCommerce Product Add-On options here in plugin’s documentation

What addons plugins can be used along with this conditional logic?

The Conditional Logic for WooCommerce Product Add-ons is designed to work only with official Product Add-ons. You won’t be able to set up conditional logic without that plugin and with any other plugin of that type.

How to show product add-ons field only when specific variant (e.g. red cap for red hoodie) is selected?

When you enable Conditional Logic for field, you will find Variations section. If you leave it empty – this field will be shown for every product variation. If you need to show the field only for specific variations – click on the field and select variations of the product, for which it will be displayed.

Is there any type of field conditional logic cannot be applied to?

Conditional logic can be applied to any default Product Add-ons field. As well as, all of the fields and their options can be used as conditionals.

Are there any limits to the number of conditions set to one field?

Yep, in community version it’s limited to one condition. In premium version you can add as many conditions as you need.

When trying to add the conditional logic, I see an error saying Please update (re-save) the post to set up conditional logic

That means you have not yet updated the add-on or product. Conditions need to assign a special slug to each field and its options, and that happens only when you update the add-on or product after installing the plugin.

Categories
Product options & add-ons
Plugin details
Version2.2.3
Last updated2026-06-19 11:36am GMT
Added2023-01-27
Requires WordPress5.0
Tested up to7.0.2
Requires PHP7.2

Tags on WordPress.org
product add-ons
woocommerce
Woocommerce Product Addons
WooCommerce product fields
woocommerce product options
Alternatives
Other plugins in the same categories.
Advanced Product Fields (Product Addons) for WooCommerce
50K+ installs
4.8(281)
PPOM – Product Addons & Custom Fields for WooCommerce
20K+ installs
4.4(282)
YayPricing – WooCommerce Dynamic Pricing & Discounts
3K+ installs
5.0(71)
Product Addons for Woocommerce – Product Options with Custom Fields
30K+ installs
4.9(466)
Extra Product Options For WooCommerce | Custom Product Addons and Fields
30K+ installs
4.9(218)
Discount Rules and Dynamic Pricing for WooCommerce
10K+ installs
4.7(247)
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