Some times we need to show the toolbar as per our need ,But magento had show same tool bar at the bottom and top of listing page
so in order to change the toolbar we can customize is such a way that top toolbar will be different and bottom toolbar will be different
1) First open list.phtml,you will find getToolbarHtml() function at the top and at the bottom in order to change the bottom toolbar we just add the following code
Replace
<?php //echo $this->getToolbarHtml() ?>
With
<?php echo $this->getToolbarBlock()->setTemplate('catalog/product/list/toolbar_bottom.phtml')->toHtml(); ?>
2) Second create the new file "toolbar_bottom.phtml" in catalog/product/list and add the customize code as per the need
Hope this will help you!
good article about Magento Customize Toolbar for list page i like it keep going on Magento Development
ReplyDeleteThank's for this ,i will try this on Magento eCommerce
ReplyDelete