In this article
- 01What is conditional logic for Shopify product options?
- 02What can you do with Aris conditional logic?
- 03How to set up conditional logic in Aris Product Options
- 045 practical conditional logic configurations for Shopify stores
- 05All vs. Any: Which condition should you use?
- 06Common conditional logic mistakes and how to avoid them
- 07When should you use conditional logic?
- 08When should you not use conditional logic?
- 09Frequently asked questions
- 10Set up smarter product customization with Aris
Aris Product Options lets Shopify merchants use conditional logic to show, hide, or disable custom product options based on customers' previous selections. You can connect one Aris option to another Aris option, or connect an Aris option to a native Shopify product option. To set it up, create an Option Set, configure the trigger and dependent options, define the conditions, and test the result in the preview or storefront. This makes complex product customization easier to navigate.
Ready to build conditional product options? Explore Aris Product Options to learn how you can customize your Shopify product pages.
What is conditional logic for Shopify product options?
Conditional logic is a rule-based feature that determines when a product option or field should appear based on a customer's previous selection. Instead of displaying every available field at once, merchants can show only the options relevant to each customer.
For example, imagine you sell personalized gift boxes. Customers first choose whether they want to include a greeting card. If they select "Yes," a message field appears so they can enter a personal note. If they select "No," the message field does not need to be displayed. This creates a more relevant product customization experience and helps merchants organize complex product choices.
With Aris Product Options, conditional logic supports two main relationships:
- Aris Option → Aris Option: One custom option controls the
- visibility of another custom option.
- Shopify Option → Aris Option: A native Shopify product option
- controls the visibility of a custom Aris option.
What can you do with Aris conditional logic?
Behavior | What it does |
|---|---|
Show | Displays an option when the configured conditions are met |
Hide | Hides an option according to the configured conditions |
Disable | Disables an option according to the configured conditions |
- All: Every condition must be true before the rule applies.
- Any: At least one condition must be true before the rule
- applies.
Operator | Meaning | Example |
|---|---|---|
Contains | Selected value includes specified text | Size contains Small |
Does not contain | Selected value excludes specified text | Size does not contain Small |
Is equal to | Selected value exactly matches | Color is equal to Green |
Is not equal to | Selected value does not exactly match | Color is not equal to Green |
Starts with | Value begins with specified text | Name starts with A |
Ends with | Value ends with specified text | Name ends with A |
Greater than | Numeric value exceeds a number | Quantity greater than 5 |
Less than | Numeric value is below a number | Quantity less than 3 |
Has any value | A value has been selected or entered | Custom text has any value |
Has no value | No value has been selected or entered | Custom text has no value |
How to set up conditional logic in Aris Product Options
Step 1: Create an Option Set
- 1.Open the Aris Option tab.
- 2.Go to the Option Set section.
- 3.Click Create Option Set.
- 4.Enter a name for your Option Set.
- 5.Click Add Option to select the option types you need.

Step 2: Create your primary option (Option A)
- Yes
- No

Step 3: Create your dependent option (Option B)

Step 4: Configure Conditional Logic
- 1.Select the relevant *Label on Cart from the dropdown.
- 2.Choose the condition operator.
- 3.Enter or select the value that should trigger the rule.
- 4.Choose the appropriate display behavior.
- 5.Save the configuration.

Step 5: Apply and test your Option Set
- 1.Select the products where the Option Set should appear.
- 2.Save the Option Set.
- 3.Open the Preview section on the right side of the options.
- 4.Test different customer selections.
- 5.If possible, open the live product page to verify the storefront behavior.
5 practical conditional logic configurations for Shopify stores
1. Show a greeting card message field when customers add a card
- 1.Customer selects "Add a greeting card?"
- 2.Customer chooses Yes or No.
- 3.If Yes, the message field appears.
- 4.Customer enters a personal message.
Setting | Configuration |
|---|---|
Trigger option | Add a Greeting Card |
Trigger value | Yes |
Dependent option | Your Card Message |
Condition | Is equal to |
Expected behavior | Show when the condition is met |
This is a direct example of Aris-to-Aris conditional logic documented in the Help Center. It prevents the message field from taking up space when customers do not want to purchase a greeting card.
2. Display different sizes based on the selected Shopify color variant
- 1.Customer selects Green from the native Shopify Color variant.
- 2.The corresponding Green size option appears.
- 3.If the customer selects Yellow, the Yellow size option appears instead.
Setting | Configuration |
|---|---|
Trigger option | Shopify Color |
Trigger value | Green |
Dependent option | Size for Green |
Condition | Is equal to |
Expected behavior | Show when the condition is met |
3. Show engraving font choices only when customers request engraving on wooden products
- 1.Customer selects Add Engraving = Yes.
- 2.Customer selects Material = Wood.
- 3.The Engraving Font field appears.
Setting | Configuration |
|---|---|
Trigger 1 | Add Engraving = Yes |
Trigger 2 | Material = Wood |
Condition logic | All |
Dependent option | Engraving Font |
Expected behavior | Show when both conditions match |
4. Display gift-wrap options for selected product categories
- 1.Customer chooses Mug or Notebook.
- 2.The Gift Wrap option appears.
- 3.Customers can select their preferred wrapping option.
Setting | Configuration |
|---|---|
Trigger option | Product Type |
Trigger values | Mug or Notebook |
Condition logic | Any |
Dependent option | Gift Wrap |
Expected behavior | Show when at least one condition matches |
Use Any when one matching condition is enough to display the dependent option.
5. Display an additional customization field for larger orders
Setting | Configuration |
|---|---|
Trigger option | Quantity |
Trigger value | Greater than 5 |
Condition | Greater than |
Dependent option | Bulk Customization Details |
Expected behavior | Show when the condition is met |
All vs. Any: Which condition should you use?
Scenario | Recommended logic | Why |
|---|---|---|
Engraving is selected AND material is Wood | All | Both requirements must be met |
Product type is Mug OR Notebook | Any | Either selection is sufficient |
A customer must select two required customizations | All | Both choices are needed |
A customer can qualify through multiple alternative choices | Any | One matching choice is enough |
- Choose All when every condition must be true.
- Choose Any when at least one condition is enough.
Common conditional logic mistakes and how to avoid them
When should you use conditional logic?
- You sell personalized products with optional engraving, messages or customization.
- Different product variants require different additional choices.
- You offer optional services such as gift wrapping.
- Your product page contains several fields that are only relevant in specific situations.
- You want to guide customers through a more structured customization process.
When should you not use conditional logic?
- Your product has only one or two simple options.
- All customers need to see the same fields.
- Your choices are independent of one another.
- A simple dropdown or checkbox already communicates the available choices clearly.
Frequently asked questions
What is conditional logic in Shopify product options?
Can I use conditional logic between Shopify variants and custom product options?
What is the difference between All and Any conditions?
Can I show or hide an option based on a customer's selection?
What happens if I change an option after setting up conditional logic?
Set up smarter product customization with Aris
Category
Product Customization