Conditional product options in Shopify
Conditional logic means an option appears only when it's relevant. For example, the "Engraving text" box shows only after the shopper picks "Add engraving", or a "Monogram color" choice shows only for the leather version. It keeps product pages short and stops shoppers filling in fields that don't apply.
Can Shopify do this without an app?
Not on its own. Shopify variants are always shown together, and line item properties added in theme code are always visible unless a developer writes JavaScript to hide them. Even then, a hidden field can still be submitted, and nothing checks the rules at checkout.
Setting up conditional options with LemonPick
- Install LemonPick from the Shopify App Store. Setup runs on its own: it turns on cart pricing and creates a hidden "Custom options" product that carries add-on fees.
- On the LemonPick Home page, click Edit options next to a product.
- Add the option that controls the others first, for example a Checkbox (add-on) called "Add engraving" or a Dropdown called "Material".
- Add the dependent option below it, for example a Text field called "Engraving text".
- On the dependent option, choose the controlling option in Show only if, then pick the Condition: checked for a checkbox, or a specific choice for a dropdown or swatch.
- Click Save. Each save is kept in version history.
- If you haven't already, click Open theme editor on the Home page. The "Product options" block is added to your product template; drag it above the Add to cart button and click Save.
- Open Checkout Guard and click Run now. It builds a test cart with your add-ons selected and checks that the totals match.
Conditions can only point to options above them, which keeps the page order predictable and prevents loops. Hidden options are not submitted and not charged. If a required option is visible, checkout is blocked until it's filled in.
Conditional logic is included on every LemonPick plan, including Free.
Common conditional setups
- Engraving: "Add engraving" checkbox, then a required "Engraving text" field.
- Gift wrap: "Gift wrap" checkbox, then an optional "Gift message" field.
- Materials: a "Material" dropdown, then "Leather color" swatches shown only for "Leather".
- Custom artwork: a "Design" dropdown with "Upload my own", then a File upload field shown only for that choice (Starter and up).
More guides: How to add an engraving option to a Shopify product · How to add a gift wrap option in Shopify · How to charge extra for product options in Shopify · How to add a custom text field to a Shopify product · Shopify 100 variant limit workarounds (updated for 2026)
Install LemonPick from the Shopify App Store
Free plan available. Paid plans include a 14-day free trial.