How to display product attribute as filter in product listing page? I am creating an e-commerce website using ubercart and Drupal 7. I have created product attribute size and color for the product from the "Administration » Store » Products" and assigned to product.

I have created a views page to display product listing .

Now, the problem is that I want to display product attribute as filter in the above product listing page. I have searched on Google but did not find any solution for that.
bit late for the answer perhaps, but perhaps someone else finds it usefull.

Ubercart uses 'Attributes' and 'Options'. Filters uses 'Taxonomies' and 'Terms'. Menu modules like taxonomy filter, hierarchical select use the terms. There is no connection of these two as far as i know.

To use these filters, we have terms synchronized with options. So for every option there is a term as well. On the product edit screen, we have enabled the taxonomies corresponding to the product attributes. So on the product edit screen you can manually add terms for taxonomies. We set these tags automatically when we import the options data through a csv or cash-register connection. (And set options based on received term data as well.)

When you have this solved there is issue 2. Options without stock should (often) not be shown in menu options. 

So when f.i. Shirts->Red-Size XL has Size XL out of stock, then term XL should no longer be visible in the filters (when this is the only product). We made small adjustment to 'order-invoice' trigger where stock is reduced, to also check and remove terms where needed.

For handling this automatically and with a nice user interface I created a custom module.