How can I remove completely Sort By and Show per page from toolbar on product listing with grid view in Magento I have only a few products on my shop so now I don't need sorting. What file should I edit and how to change code in this file.


You can hide the bar with CSS or remove it from your template.

css way

.toolbar { display:none; }

template way

Look in catalog/product/list.phtml and remove or comment out:

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

enter on top of the template:

  • 1
    Except that this is not a clean solution: Which template? The answer won't help anybody as it stands. Jun 3 '16 at 9:42

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.