Monday, July 16, 2012

Edit Footer Toolbar On Product List Page

Create new file like footertoolbar.phtml or by any other name. modify by your requirements.

Called in list page using

<catalog_category_default>
        <reference name="product_list">
            <block type="catalog/product_list_toolbar" name="listfooter" template="catalog/product/list/footertoolbar.phtml">
                <block type="page/html_pager" name="product_list_toolbar_pager"/>
            </block>
        </reference>
 </catalog_category_default>

and in list.php file get set collection and get child html

<?php $this->getChild('listfooter')->setCollection($this->getLoadedProductCollection()); ?>
<?php echo $this->getChildHtml('listfooter') ?>

No comments:

Post a Comment