1

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?

2
  • try this magento.stackexchange.com/questions/198708/…
    – Nits
    Commented Jun 6, 2018 at 12:24
  • @Nits I already got the idea on how to pull the data. Is there a way that I can use it in place of product collection in category or do I have to make my own?
    – user67757
    Commented Jun 6, 2018 at 13:02

0

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.