I am trying to include a different pager for the bottom toolbar. For this I have changed the template used by the bottom toolbar:

<?php echo $this->getToolbarBlock()->setTemplate('catalog/product/list/toolbar-bottom.phtml')->toHtml(); ?>

How can I change the template used for <?php echo $this->getPagerHtml() ?> within toolbar-bottom.phtml?

  • you need to change template template/page/html/pager.phtml – Minesh Patel Apr 4 '16 at 9:42
  • but it will be for all pager. if you want for particular toolbar only you need to change it. – Minesh Patel Apr 4 '16 at 9:50

getPagerHtml() not use any template file. This is a function of Mage_Catalog_Block_Product_List_Toolbar Class.

  • getPagerHtml() use template page/html/pager.phtml – Minesh Patel Apr 4 '16 at 9:45

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.