cancel
Showing results for 
Search instead for 
Did you mean: 

product count in custom phtml

product count in custom phtml

I need to get the Product count displayed on top of  PLP page in the custom phtml, I want the count of the products as Layered navigation filter applied also

https://ibb.co/3CJWy5j

1 REPLY 1

Re: product count in custom phtml

@raju_a 

 

Try this if it can help:

 

Store -> Configuration -> Catalog -> find 'Layered Navigation' then set -> Display Product Count

 

https://www.customerparadigm.com/guide-to-layered-navigation-magento-2/

 

For PLP page you have to customize PLP template:, for your reference:

https://magento.stackexchange.com/questions/181142/get-products-count-in-magento-2-list-page-before-...

Manish Mittal
https://www.manishmittal.com/