Conditional Logic Function

This feature lets you show or hide option values depending on the choices made in other options or specific Shopify variants.

How to Use conditional logic between elements

1. Pick an Option First, go to the "Option Set" area and choose the specific option you want to apply the conditional logic to.

2. Turn On Conditional Logic On the right side, in the Option Configuration panel, find and check the box called "Conditional Logic Options."

3. Choose What to Match Select whether you want to base your conditions on the previous option or Shopify variants.

4. Set Your Display Rules Decide when the field should appear or disappear based on the conditions you create:

  • Show: The field will only show up if all conditions are true. If not, it will stay hidden.

  • Hide: The field will hide if all conditions are true. Otherwise, it will show.

5. Decide How Conditions Work Together Choose how multiple conditions should be evaluated:

  • All Conditions (AND): The field reacts only if every condition is true.

  • Any Condition (OR): The field reacts if at least one condition is true.

6. Set Conditions Between Elements

Here are the condition types you can use to link elements:

  • Is equal to: Show the field when the previous option exactly matches your selected value.

  • Is not equal to: Show the field when the previous option does not match your selected value.

  • Is greater than: (For number fields) Show the field when the previous option is greater than a certain number you set.

  • Is less than: (For number fields) Show the field when the previous option is less than a certain number you set.

  • Starts with: Show the field when the previous option starts with the value you specify.

  • Ends with: Show the field when the previous option ends with the value you specify.

  • Contains: Show the field when the previous option contains the value you specify.

  • Does not contain: Show the field when the previous option does not contain the value you specify.

Condition logic with Shopify Variant

Applying conditional logic with Shopify variants works just like between other elements. Just make sure to enter the variant name exactly as it appears.

📧 Need Help? If you run into any issues while setting up your option set, feel free to reach out to us at Chat or email [email protected].

We’re always here and happy to help — with sincerity and care!

Last updated