I've got a module in magento 1 - it stops certain products being listed depending upon a set of attributes.
For example if the user logs in and an customer attribute set with a value of 100, they would see all products with an attribute called "test" with the value of 100 and no others...
I'm looking at porting this functionality accross to magento 2, I was hoping for some pointers on where magento 2 does the category listing...
In magento 1 I extend the mage/catalog/model/category and add an addattributetofilter... along with a few others things...
Looking breifly at magento 2, I thought that I'd be able to duplicate the behaviour by overwriting/extending CollectionFilter in the namespace 'Magento\Catalog\Model\Layer\Category' yet anything I do here results in no results regardless of what I do.
Any tips/help would be great at the minute.