a similar problem.
If i want filter product collection, create plugin for Layer (if use event the result will be the same).
The collection is correct and show only 2 products.
But the Pagination order Category Filter show 9 Products.
Why??
filtermagento2product-collection
Best Answer
Please use getSize() function on product collection before returning it. It will calculates all mandatory data for layered and toolbar.
Before this line -