PluginGauge

How to add conditional product fields in WooCommerce

By Raz Technologies · published · data updated

How do I show or hide WooCommerce product fields based on other choices?

Install a product add-ons plugin with conditional logic, which shows or hides a field based on the customer's earlier choices (15 of the 20 we track document it, 8 in the free version). As of 2 November 2026, the top-ranked plugin in our product add-ons ranking is Extra Product Options For WooCommerce | Custom Product Addons and Fields (80.1/100). See our product add-ons plugin ranking for the full comparison.

The problem

A personalised product often needs follow-up questions: pick "Engraving" and a text box appears; choose "Custom size" and width and height fields show up. Showing every field at once confuses customers, and WooCommerce has no built-in way to add such fields, let alone show them conditionally.

Plugins that document conditional logic

These ranked product add-ons plugins document conditional logic (evidence: Documented, from each plugin's readme or listing). The column shows whether it is in the free or the paid version.

Plugins documenting conditional logic — from our product add-ons and options ranking, 2 Nov 2026
PluginRankFeature inCheckout BlocksInstalls
Extra Product Options#1Paid versionYes30,000+
Extra Product Options & Add-Ons#2Paid versionNot declaredNo data
Extra Product Options#4Free versionYes600+
Advanced Product Fields#5Free versionNot declared50,000+
Flexible Product Fields#6Paid versionNot declared10,000+
Product Addons#7Free versionNot declared30,000+
Product Configurator#8Paid add-onNot declared2,000+
YayExtra#10Free versionNot declared1,000+

How to set it up (typical steps)

  1. Create an option group (or add fields on the product) with the field that drives the condition, for example a "Personalisation" select with "None" and "Engraving".
  2. Add the dependent field, for example an "Engraving text" box, and price it if needed.
  3. In the dependent field's conditional rules, choose "Show if Personalisation is Engraving".
  4. Test on the product page, then check that the choice and its price reach the cart, the order and the emails.

Menu names differ between plugins; see each plugin's documentation, linked from its profile.

What to check before you choose

Other plugins people ask about

FAQ

Can WooCommerce show product fields conditionally without a plugin?

No. WooCommerce has no custom product fields at all; variations change with attribute choices, but they cannot show or hide extra fields. Conditional fields need a product add-ons plugin.

Can a conditional field also change the price?

In most add-on plugins, yes: each option can add a fixed or percentage price, and conditional rules decide whether that option is shown. Check the "Feature in" column: some plugins offer conditions only in the paid version.

Can a conditional field be a file upload?

Only in plugins that support uploads: 16 of the 20 product add-ons plugins we track document customer file upload, 2 of them in the free version (as of 8 November 2026).