In the admin panel, you have the ability to sort categories by attributes as seen here: http://inchoo.net/magento/changing-default-category-sort-order-in-magento/

Now I have sorted products in categories by:

  • price (default)
  • name
  • position

I need to remove position from the menu leaving only price and name

I don't want to edit every single category view from catalago-->manage categories because I have too many categories in the store.

I need to act in configurations


I've modified the toolbar template file:


replacing this:

  <?php foreach($this->getAvailableOrders() as $_key => $_order): ?>

with this:

  <?php foreach($this->getAvailableOrders() as $_key => $_order): ?>
    <?php if ($_key === 'position') { continue; } ?>
| improve this answer | |

add this to css

.sorter-options > option[value=position] {
    display: none;
| improve this answer | |

follow the steps below.

  1. Go to Catalog > Attributes > Manage Attributes
  2. Select position from the attribute list
  3. Under Properties > Frontend Properties, set the display to "No" for the following options;
    • Used in Product Listing
    • Used for Sorting in Product Listing

Remember to flush the cache if you had cache enabled.

| improve this answer | |
  • There's no position attribute in the attribute list in my Magento 1.9.1. I have unsuccessful tried to search position and its translation in the site language, even place. Nothing – bobrock4 Jun 24 '16 at 19:05

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.