⚙️How to set a conditional logic?
PreviousHow can I find custom field data in an order?NextHow to charge extra fee when a field is being utilized by customer?
Last updated
Conditional logic allows you to show or hide a field based on a customer’s selection.
You want to ask customers whether their purchase is a gift. If the answer is Yes, you want to display an additional field for a gift note.
First, create a Checkbox field with the label “Is this a gift?” and apply it to the relevant products.
Second, create another field (for example, a Text Box) for the gift note.
In the Visibility section of the second field, enable Conditional Display.
Set the condition:
IF the checkbox option equals “Yes”
THEN display this field.
Be sure to select the relevant product for the condition in the Visibility section to ensure the logic works correctly.
Once saved, the gift note field will only appear when the customer selects the “Yes” option for the “Is this a gift?” checkbox field.
Conditional display is only available for dropdown, checkbox, radio button and image swatch fields.


If you do not click "Create this condition" button, the selected criteria is not saved.
Once everything is set, this is how it will appear on your product page. When “Yes” is selected, the text box is displayed. If “No” is selected, the text box remains hidden.


Watch the detailed video to learn how to apply conditional logic.
Last updated