alovio store

WooCommerce / Alovio Product Options

Conditional logic

Show, hide or require WooCommerce product options with multi-condition AND/OR rules and five operators — all free in Alovio Product Options.

Conditional logic keeps your product form tidy — reveal an option only when it’s relevant, require it only when it’s needed. All of it is in the free plugin, with no limits.

How a rule works

Open an option’s conditional logic and set a rule:

  • An actionshow, hide or require this option.
  • One or more conditions — each compares another field against a value.
  • Combine conditions with AND (all must match) or OR (any can match).

Five operators are available: is, is not, contains, greater than and less than.

Examples

Show “Engraving text” when “Add engraving?” is Yes

Require “Gift message” when “Gift wrap” is Yes AND “Occasion” is not None

Show “Bulk discount note” when “Quantity” is greater than 10

Preview it live

The builder’s preview-as-customer simulation bar lets you set values and watch fields appear, disappear and become required exactly as they will on the product page — so you can test the whole flow before you publish.

How visibility affects price and validation

A hidden option drops out completely — it isn’t validated and its price isn’t added to the price breakdown. A required option only enforces when it’s visible, so a hidden field never blocks add-to-cart.

Chaining

Rules resolve together: if option A reveals option B, and B reveals C, hiding A hides the chain. Circular references are handled safely. The live preview uses the same engine as the storefront, so what you see in the builder is what customers get.

Next