I am trying to create a page where all best sellers products should be displayed and it needs to look like magento's default category page(filters on the left and product grid/list on the right).

I made a custom page then tried to reuse most of Magento_Catalog resources like blocks, templates, etc. The problem is, most of the functions uses getCurrentCategory() which seems not applicable in my case.

Any insights how can I do it?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.