I'm trying to show / hide modifiers based on a selection. For instance I am building a store who rents licenses for a period of time (3, 6, and 12 month). I want to show a different set of options based on one of the selections above. Is there an easy way to do that?
EE won't do that out of the box (that I know of). You're looking for a 'chained select' option, I think - where the first select determines the options available of the second select.
Depending on what your needs are, try one of these jquery:
It's not possible out of the box with Store. As long as your chained select options don't require price modifiers, you could do this using a jQuery chained select plugin as mentioned above, combined with "custom text modifiers", which allow you to submit arbitrary text fields along with the order:
You could also simply add all the possible modifier options in the publish page, and then use one of the jQuery select plugins to only display the correct modifiers to uses on the front end. How complicated this will be depends on how many products you have like this which need to be set up.