Skip to content

Conditional Logic

Conditional Logic in Evolve 2D Configurator allows for the creation of dynamic and tailored product customization experiences. By establishing specific rules and conditions, you can control how groups and layers are displayed and interacted with based on user selections.

Conditional Logic Icon

Create Condition

Click the Conditional Logic icon to open the conditional logic interface popup.

Click Add Condition to creates a new condition with two main sections include Logic and Action.

Create Condition

Logic

Define multiple rules to specify when the actions should be triggered.

Logic Operator:

  • AND: All rules must be satisfied for the actions to be executed.

  • OR: At least one rule must be satisfied for the actions to be executed.

Condition AND OR Setting

Rules

Dropdown: Choose the comparison method for the layer state (e.g., selected, deselected, shown, hidden, enabled, disabled, opened, closed).

Condition If Setting

Layer Selector: Specify which layers (e.g., group, subgroup, image) the rule applies to.

Rule Operator: Determine how the rules for the layer selectors are compared:

  • AND: All selected layers must meet the specified comparison method.

  • OR: At least one of the selected layers must meet the specified comparison method.

Action

When the logic is met, the specified actions are executed according to the dropdown selections and layer selectors.

Rules

Dropdown: Specify the action to apply when the conditions are met (e.g., select, deselect, show, hide, enable, disable, open, close).

Condition Then Setting

Layer Selector: Choose which layers/groups the action should affect.

Key Features

Select/Deselect Layers:

Allows you to control the selection status of layers. You can set conditions that automatically select or deselect specific layers based on user interactions or other criteria.

Show/Hide Groups or Layers:

Manages the visibility of groups or layers. Conditions can be set to reveal additional customization options or hide irrelevant ones.

Enable/Disable Layers or Groups:

Controls whether layers or groups are interactive. You can set conditions to enable or disable certain options, impacting whether users can interact with them.

Open/Close Groups:

Allows for toggling the expanded or collapsed state of groups. This feature helps manage the visibility of grouped options, making the interface cleaner and more manageable.

Duplicate Conditions:

Conditions can be duplicated to quickly create similar logics and actions.

Condition Chaining:

When enabled, condition chaining allows the action of one condition to trigger the evaluation and action of subsequent conditions. This creates a cascading effect where multiple conditions can influence the configurator’s state. You can enable or disable condition chaining based on your needs.

Reverse Condition:

Allows setting conditions based on the opposite state of the logic. If the primary logic action is to show a group when selected, the reverse condition will hide the group when deselected.