Open ioweb-gr opened 1 year ago
Hi @ioweb-gr. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
Is there an existing issue for this?
What's missing?
In Magento 1 it was pretty straightforward how to create your own custom collections with layered navigation or how to override categories' product collection to achieve tailored listing for specific use cases.
In Magento 2 there is no documentation on how to achieve this and searching online you can only find scattered examples where nothing is fully working. EIther the product count is wrong, either the results are wrong or the toolbard is not working.
I think many merchants would like to be able to show custom pages like new products / sale products / products grouped by an attribute and getting the collection is easy.
However showing the product list with layered navigation is a totally different story
Just take a search here and you'll see what I mean
https://magento.stackexchange.com/search?q=custom+product+collection
Dozens of unanswered questions about the topic and answers that are not working.
Realistically speaking, it's worth a topic on it's own in the documentation in my humble opinion.
Two distinct use cases are coming to mind
Would it be possible to give us some insight on how to achieve this?