Conditional Logic
Show or hide options based on customer choices.
Conditional Logic lets you show or hide Podifai custom options based on earlier customer selections. Use it to create cleaner Shopify product pages and guide shoppers through only the personalization fields that apply.
Overview
Conditional Logic lets you show or hide option types based on what the customer has already selected. Every option still lives on one customization surface — Conditional Logic keeps that surface short by revealing only the fields that apply to the choices already made. It is not a multi-step configurator: shoppers are not moved through separate stages.
Preview Conditional Logic on the storefront
How It Works
- Select the option you want to conditionally show/hide.
- Enable Conditional Logic in its settings.
- Set the condition type: ALL conditions must match, or ANY condition can match.
- Add conditions referencing other options and their expected values.
Set up Conditional Logic on an option
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.
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)
Let Shoppers Choose a Fixed Personalization Position
Use separate preview layers when shoppers should choose from fixed positions such as Top, Center, or Bottom:
- Create a Badge Group with Top, Center, and Bottom values.
- Create a separate Text Input, Image Upload, or visual option for each position.
- Place each option's Live Preview layer in its corresponding fixed position.
- Add Conditional Logic to each position option.
- Show the matching position option for each Badge Group value.
FAQ
What does Conditional Logic do in Podifai?
Conditional Logic shows or hides one custom option based on another option's selected value, so shoppers only see fields that apply to their choices.
What is the difference between ALL and ANY conditions?
ALL means every condition must match before the option appears. ANY means the option appears when at least one condition matches.
Can I show an option when another option is not selected?
Yes. Use the Unselected value when you need to check whether a shopper has not made a selection yet.
Can conditional options depend on other conditional options?
Yes. Podifai supports dependency chains where a conditional option depends on another conditional option, evaluated automatically up to three levels deep.
What are common uses for Conditional Logic?
Common uses include showing engraving fields only when Add Engraving is selected, showing upload fields only for custom print choices, and hiding irrelevant options after a shopper chooses a product style.
Can shoppers choose between several fixed personalization positions?
Yes. Create a Badge Group with choices such as Top, Center, and Bottom, create one text or image option for each fixed preview position, then use Conditional Logic so only the option matching the shopper's position choice appears.
