0

I've overrided the ListProduct.php file for the catalog, to show product based on customer attribute.

But now I have the wrong number of element in the toolbar (I have 3 products displayed but still the "unfiltered" number in the toolbar).

I've added condition in initializeProductCollection function

0

Found the answser :

Best solution seems to be to override IndexBuilder Plugin\CatalogSearch\Model\Search

see : How to update category page with custom filters, and also layered navigation, Magento 2.1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.