How to set a conditional logic?
PreviousHow to find the custom fields in the order?NextHow to charge extra fee when a field is being utilized by customer?
Last updated
Last updated
Imagine that you want to ask your customers if this purchasing is a gift. If yes, you want to get the gift note. In this case, first create a checkbox saying "Is this a gift?" and apply it to relevant products. Then, create another field which is a textbox this time. However, this textbox will be displayed conditionally. Therefore, we need to set a condition for this in our last step. The logic is simple: IF a checkbox is equal to our option (Is this a gift), THEN this field will be DISPLAYED.
It is that easy.