Conditional Logic

Show or hide options based on customer choices.

Overview

Conditional Logic lets you show or hide option types based on what the customer has already selected. This creates a guided, step-by-step configuration experience.

Preview Conditional Logic on the storefront

Conditional logic keeps dependent choices hidden until the shopper makes the parent selection.

How It Works

  1. Select the option you want to conditionally show/hide.
  2. Enable Conditional Logic in its settings.
  3. Set the condition type: ALL conditions must match, or ANY condition can match.
  4. Add conditions referencing other options and their expected values.

Set up Conditional Logic on an option

Pick the dependent option, enable conditional logic, and define the parent option value that controls it.

Logic Operators

  • ALL (AND) — Every condition must be true to show the option
  • ANY (OR) — At least one condition must be true to show the option

Condition Rules

Each condition compares a referenced option's current value using one of two operators:

  • Equal — Show when the referenced option's value matches the specified value
  • Not Equal — Show when the referenced option's value does NOT match

You can also use the special "Unselected" value to check whether a customer has not yet made a selection on the referenced option.

Dependency Chains

Conditions can reference options that are themselves conditional. This creates dependency chains — for example, Option C depends on Option B, which depends on Option A. Podifai evaluates these chains automatically up to three levels deep.

Keep dependency chains simple. Deeply nested conditions can be confusing for both you and your customers.

Examples

  • Show "Engraving Font" only when "Add Engraving" badge is selected
  • Show "Upload Logo" only when "Custom Print" option is chosen
  • Hide "Gift Message" when "For Myself" is selected (use Not Equal)
  • Show "Thread Color" only when material is NOT "Unselected" (customer has picked something)