Using category and its sub-categories products attributes as filter in products pages

It’s possible to do it with Advanced AJAX Product Filters plugin. It allows you to use attributes in the filter. Follow these steps:

  1. Install and activate the plugin.
  2. In the right sidebar, click on Widgets.
  3. Under Filter By option, select Attribute. Under Atrribute
    option, which is located beside Filter By, choose the attribute
    of your desired category / subcategory.
  4. Finally, click on the Save button.