I'd like to add a product attribute which is dependent on another product attribute. For example:
Material: Wood | Plastic | Leather
Color: <different values for wood, plastic, and leather>
This functionality doesn't seem to be built in. How should I approach coding this?