Say you have an online store, and each product belongs to one catalog. In each catalog, you specify what custom attributes its products have. Eg:
- Catalog: Transformers
- Product Attributes: Character, Allegiance
- Catalog: Games
- Product Attributes: Number of Players, Average Game Time
When viewing a catalog, you want to enable users to filter by any custom product attribute. This is done by choosing which attribute to filter by from a dropdown, and then choosing the desired value for that attribute from a dropdown. Eg: filter products where “Character” is “Megatron”.
Here’s the question: How do you determine what values to put in the second dropdown?