After Upgrading to Magento 2.4.3 the pagination is not working anymore
If you recently upgraded your Magento installation to 2.4.3 version, and the pagination on category and search pages is not working anymore, this will be a solution for you until Magento founds a final fix for that.
First of all, just for double check, give a try adding “?p=2” to the category page URL, and check if the products of the second page are loading but the pagination is still not visible, this will be saying that its a frontend issue, and the pagination is actually working fine.
To solve this out, find where is your current implementation of app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
The original code in the bottom section of the page looked like this:
1 |
<?= $block->getToolbarHtml() ?> |
but it has since been changed to this in the recent update – so, replace to this piece of code on your customization:
1 |
<?= $block->getChildBlock('toolbar')->setIsBottom(true)->toHtml() ?> |
Hope it helps.
Enjoy!