WooCommerce / Alovio Product Options
Conditional logic
Show, hide or require WooCommerce product options based on the customer’s other choices — 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. It’s included in the free plugin.
How a rule works
Open an option’s conditional logic and set a rule:
- An action — show, hide or require this option.
- A condition — compare another option against a value.
In the free plugin, a field has a single condition using is or is not. The Pro edition lets you combine multiple conditions with AND/OR and adds the contains, greater than and less than operators.
Examples
Show “Engraving text” when “Add engraving?” is
Yes
Show “Frame colour” when “Add a frame?” is
Yes
Require “Monogram initials” when “Personalise” is
Monogram
How visibility affects price and validation
A hidden option drops out completely — it isn’t validated and its price isn’t added to the options total. 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 in the builder uses the same logic, so you can test the whole flow before publishing.
Next
- Put prices on the options you reveal: Add-on pricing.
- Common questions: FAQ & troubleshooting.