I display custom products in page. use controller ,block and .phtml
files define block and template in xml
file.
Products are showing correctly i use template module/catalog/view/frontend/template\product\list.phtml
.
Now i want to apply pagination and iuse many solution like
how to add pagination on custom collection in Magento 2
https://meetanshi.com/blog/add-pagination-in-magento-2-custom-collection/#comment-962
https://mage2.pro/t/topic/1035
https://www.fmeextensions.com/blog/how-to-add-magnto-2-pagination-to-custom-collection/
All these solution just show limited products on page but not show next page
counting toolbar.
Can anyone help me please ? i already spend too much time
Best Answer
In Your
.phtml
file :-Block file :-