i'm trying to create my first magento template and i'm facing problems to load the pagination toolbar.

My last try was using

$object = new Mage_Catalog_Block_Product_List_Toolbar();
echo $object->getPagerHtml();

This hint was taken from


But on my catalog/product/list.phtml doesn't show my pagination. Maybe I'm missing something on XML layout?
PS.: Neither toolbar.phtml loads

  • You want to load it in custom template ? – Suresh Chikani Nov 4 '16 at 12:06

First check your theme layout file catalog.xml

<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">

is set in catalog_category_default(Catalog Category (Non-Anchor) and Catalog Category (Anchor)) node,

If code not existing so add this code. you can copy it from base theme catalog.xml


Please check below article it will help you to create pagination in your template file :


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.