🔎Conditional Logic - Option B is shown/ hidden according to the value of option A

Scenario: Only if customers choose to add a card, the option for a message on the card will show. You can check out our Demo product to see how it works 😊

You can use this example of Conditional Logic to set up an extra charge for the option type that does not support Add charge option such as Text, Large Text, Number, Datetime, Color Picker, and File Upload

Here is the step-by-step instruction on how to set up the Conditional logic.

Step 1. 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.

Step 2. Then, create the second option as a text option (Option B) so customers can fill in their message.

Step 3. Click on Show Advanced Options under the second option (Option B).

Then, click on the Create new conditional rule then choose the correct Label on Cart and make sure that it contains your affirmative value above. Pick the Label on Cart of the option that you would like your second option (Option B) to depend on.

Step 4. Hit Save in the bottom right corner of the popup and Save changes on the top right corner of the Option Set tab and you're all done 🤗

Last updated