Conditional logic enables you to dynamically show or hide product options based on a customer’s previous selections. This creates a more personalized and streamlined experience, helping customers see only the options that are relevant to them.
What Is Conditional Logic?
Conditional logic allows a product option to appear only when specific criteria are met—usually when a particular value is selected in another option.
Example:
If a customer selects "Yes" for "Add Custom Text?", then a new field labeled "Enter your message" will appear.
⚙️ How to Set Up Conditional Logic
Note: These steps assume you’ve already created an option set with at least two selection-type options (e.g., dropdowns, radio buttons, checkboxes).
✅ Steps:
1. Go to SM Product Options > Option Set
in your Shopify admin.
2. Click on Set up Conditions for the relevant option set.
3. Choose the base option (the option that will trigger the logic).
4. Select the condition type:
is equal to
is not equal to
5. Pick the specific value of the base option that should trigger the condition.
Note:
Use the IF condition "Any" to trigger the action when any of the rule conditions are met.
Use "All" if you want the action to trigger only when all conditions are satisfied.
6. In the Actions block, choose whether to:
Show the target option, or
Hide the target option
7. Select the target option that should be shown or hidden based on the above conditions.
✅ Final Tip
Always preview your option set after applying conditions to make sure everything works as expected..
Need help with a specific use case? Please feel free to reach out to our support team at support@shopymate.co or create a ticket on our support portal from here.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article