I have a Magento store which allows users to filter products by brand.
By default it shows a list of all the active categories on the left sidebar. (Its currently disabled in the above link so you won't be able to see)
I only want it to display the list of categories in response of what the products are listed on the page.
For Ex. In the above link, it should only show "Food" category in the sidebar, not all.
Its a bit tough for me to explain but I hope you'd understand.