How to customize product options based on customer's choice?

Hi everyone!

We have successfully set up multiple products using custom line item properties to get personalized item info from the customer.

Our Problem:

We only want some of these options to appear if they choose to add that option. For example, we make superhero capes and have an option to add a second cape layer / color. Then we have a dropdown to choose the color of that cape. However, we ONLY want that color dropdown to appear if the customer chose “Add Double-Sided Layer / Optional Inside Cape Color”.

The logic is essentially as follows:

// If “Add Double-Sided Layer / Optional Inside Cape Color” is chosen

// then Enable “Inside Cape Color” dropdown

// else Disable “Inside Cape Color” dropdown

We have multiple custom product templates set up because each of our products is handled a little differently. Ideally, I’m looking for a solution that will enable me to add a line or section of code and then copy/edit to make it applicable to the other custom product templates.

Our site: https://everfan.myshopify.com/admin (password ohtain)

Example of product: https://everfan.myshopify.com/products/personalized-superhero-cape

Any help is greatly appreciated!