AvisPlus Product Options
  • Get started!
    • 📍Option Set
      • 📍Option Template
    • 📍Activate App
    • ❓My options do not show
    • ✅List of our app’s compatible theme
  • App features
    • 🔎Add Charge for an option value
    • 🔎Add Bundle for an option value
    • 🔎Conditional Logic - Option B is shown/ hidden according to the value of option A
    • 🔎File Upload for Customers
    • 🔎Changing the option position on the Product page
      • Getting the HTML element
  • Customizations
    • 🔧Edit extra charges notifications
    • 🔧Edit tooltip
    • 🛠️Delete Span tags around the Add charge
  • App Overview
    • 🏆Benefits of using AvisPlus Product Options
    • 📩Contact Us
    • ⚙️Frequently Asked Questions
  • App Setup
    • ⏹️You can suspend the app when not using
    • ❌Uninstall
Powered by GitBook
On this page
  1. App features

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

PreviousAdd Bundle for an option valueNextFile Upload for Customers

Last updated 1 year ago

Scenario: Only if customers choose to add a card, the option for a message on the card will show. You can check out our 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 🤗

🔎
Demo product