Customize Magento Toolbar For List Page: Hello readers, Some times you need to show the toolbar as per client requirement ,But magento (default & rwd theme) show same tool bar at the top and bottom of listing page (List & Grid). You can Customize Magento toolbar in such a way that top toolbar will be different from the bottom toolbar.
Go to current theme/template/catalog/product/list.phtml
then, open list.phtml, there you will find getToolbarHtml() function at the top and bottom.
in order to change/customize the bottom toolbar, you just have to replace
<?php //echo $this->getToolbarHtml() ?>
With the below code
<?php echo $this->getToolbarBlock()->setTemplate('catalog/product/list/toolbar_bottom.phtml')->toHtml(); ?>
Here, toolbar_top.phtml” is new file in catalog/product/list, you can add the customize code as per the need so that bottom toolbar get new look & feel.
Hope this will help! thanks!
0 Comment(s)