How to show conditional product options in Shopify

A shopper who doesn't want engraving shouldn't see an engraving box. Conditional options show a field only when an earlier answer calls for it, which keeps the product page short and the orders clean.

Get Product Options on the Shopify App Store Free plan. Pro is $9.99 a month. No theme code edits.

Common examples

Can Shopify do it without an app?

Not out of the box. Shopify's product form shows every variant option all the time. You can hide and show line item property fields with your own JavaScript in the theme, but you have to maintain it through theme updates, and a hidden required field can block Add to cart if the script is wrong.

Plan the rules first

  1. Write each rule as "show this field when that field is this answer".
  2. Keep it to one level where you can. A field that depends on a field that depends on another field confuses shoppers.
  3. Decide what happens to an answer when the shopper changes their mind. A hidden field should not send its old answer with the order.

Test it like a shopper

Doing it with Everformat Product Options

We built Everformat Product Options for exactly this job. You install it from the Shopify App Store, create the field, choose which products it appears on, and it shows on those product pages without you editing any theme code. The shopper's answer travels with the item to the cart, the checkout and the order. There is a free plan, and Pro is $9.99 a month.

For more detail, including a free theme-code method and engraving line limits with a live preview, see our Product Options guides.

Rather paste code yourself? Our free line item properties generator writes it for text, dropdown, radio, checkbox and date fields.

It can also charge extra for an option, like +$5 for engraving, and take a photo or file upload from the shopper, on any Shopify plan. The uploaded file is saved in your store's Shopify Files and linked on the order. Check the current plan details on the listing before you install.

Conditional fields are built in: any field can be set to appear only when another field has a certain answer, and a hidden field's answer isn't added to the cart. Conditional fields are part of the Pro plan ($9.99 a month); the free plan covers the fields themselves.

Get Product Options on the Shopify App Store Free plan. Pro is $9.99 a month. No theme code edits.

Shopify is a trademark of Shopify Inc. We are not affiliated with Shopify. Everformat Product Options is our own app.