Conditional Logic (Avis and Avis)
Option B is shown/ hidden according to the value of option A
Last updated
Option B is shown/ hidden according to the value of option A
Last updated
Scenario: Only if customers choose to add a card, the option to put in a message on the card will show. You can check out our Demo product to see how it works 😊
Here is the step-by-step instruction on how to set up the Conditional logic.
Kindly note that, for the Conditional logic feature to work, all related options need to be in the same Option Set.
1. In the Avis Option tab -> Option Set section -> click the Create Option Set button -> Click Add option button -> Choose your Option Type
2. To begin, you need to create your primary option (Option A). In this case, we created a radio button option asking if the customer would like to add a card.
3. Then, create the second option as a text option (Option B) so customers can fill in their message.
4. Within the second option (Option B), click Show Advanced Options
Then, click Create new conditional rule, then pick the Label on Cart of the option that you would like your second option (Option B) to depend on from the dropdown list.
Please choose the correct Label on Cart and make sure that it contains your affirmative option value above.
Please note that every time you change any data of the options related to the Conditional logic, you will need to update the conditions again to ensure everything matches and works smoothly.
5. Hit Save to finish the option B setup.
6. In the Select product section, choose the products you want this Option Set to apply to.
7. Hit the Save button on the top right corner to save the Option Set and you're all done!
You can check on the result in the Preview section (on the right side of the options) or you can open the online Product page and see how the Conditional logic works.
You may see on the product there are Advanced conditional logic there. The set up of it can be seen in this vid: https://youtu.be/U-HjJSZMUkU