Filter By Selected Categories Or Convert Categories


Each product in my db have 2 types of categories - main one and secondary. Now I have problem with filtering products by categories (simple addon functionality). I figured out secondary category could work as tag OR I need solution how to filter products only by selected categories).