Creating Conditional Options

You may want to set up your products in such a way that when one option is selected, a different option no longer appears. This can be desirable in circumstances when a certain product combination is not available or runs out of stock.

Example: You offer a T-shirt that comes in three colors and three sizes. However, one color is not available in size Large. Performing these steps will make it so that if a customer clicks on Green, the Large option will disappear. If they click on the Large option first, the green option will disappear.

These steps will work with trackable options, listed below:

  • Color
  • Size
  • Swatch
  • Multiple choice
  • Product list
  • Checkbox


Make sure you have the following setup before continuing.

When an option is out of stock - Hide the option selected

Option and SKUs

1. Edit your product and go to the Options tab.

2. Click on SKUs, and generate SKUs for all possible product combinations, including the combination you want to hide. If including a checkbox option, the SKU will need to be created manually.

3. Edit the stock levels for each combination. Leave the stock levels for the unavailable combination at 0. You can do this from the View Products page rather than editing each SKU individually.

Have Options that Appear when Another Option in Selected

Follow these steps to make it so that additional options only appear once you've selected a particular option. This involves making the option that should not show the additional options the default selection. You must complete the steps under Options and SKUs first.

This will work with the following option types:

  • Size
  • Multiple choice
  • Product list
  • Checkbox

1. Edit the Option that will determine whether the secondary options appear.

2. Locate the value that should not be tied to any secondary options. Select Make Default next to that value.

Value marked as Default

3. Save your changes.

Was this article helpful?