Is it possible to only display the attributes for products which are displayed/searched etc.
e.g. if we had a category with only black products in it would only show the 'Black' attribute in colours.
Any help on where to start with this issue would be much appreciated.