cancel
Showing results for 
Search instead for 
Did you mean: 

Get All Product in Search Result Page in Magento 2

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Get All Product in Search Result Page in Magento 2

I want to get all products in search result and tag page This code works on category page but not in search result and tag

$this->getLoadedProductCollection();

I also checked this code and no result at all

$this->getCollection();

I want to use it in list.phtml file