Something weird happened and now my magento category page is not showing pagination. I tried searching every where but my store is still not showing page navigation(pagination).

(Magento 1.8 on nginx-php-fpm)


As you are having Sort By option that means you have <?php echo $this->getToolbarHtml() ?> in your list.phtml file.

Check in the catalog.xml whether you have called xml for pagination. The xml should be as below

<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
     <block type="page/html_pager" name="product_list_toolbar_pager"/>
  • yes i have already done that... you can see my page shows number of pages for the toolbar but only the navigation link.. next and page number are not shown – Akshay Dwivedi Jul 21 '14 at 11:49
  • is this code in between block <block type="page/html_pager" name="product_list_toolbar_pager"/> ? – Dexter Jul 21 '14 at 11:56
  • here is my catalog.xml : pastebin.com/v5q7zNTa – Akshay Dwivedi Jul 21 '14 at 13:11
  • Catalog.xml seems fine... could you please paste your list.phtml file... also have you made any changes in template?? are you using any theme?? – Dexter Jul 21 '14 at 13:17
  • here is my list.phtml... pastebin.com/di6WPYg3 – Akshay Dwivedi Jul 21 '14 at 13:26

add this code in your list.phtml file

<?php echo $this->getToolbarHtml() ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.