Step 1 : Edit toolbar.phtml inside the folder
app/design/frontend/yourpackage/yourtheme/template/catalog/product/list/toolbar.phtml
Step 2 : And Find this code if you open this file in notepad++ go to line No.91.
app/design/frontend/yourpackage/yourtheme/template/catalog/product/list/toolbar.phtml
Step 2 : And Find this code if you open this file in notepad++ go to line No.91.
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?> <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>> <?php echo $this->__($_order) ?> </option> <?php endforeach; ?>
Then Replacing this code
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?> <?php if ($_order != 'Position') : // Remove "Position" from the sort option list ?> <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>> <?php echo $_order ?> </option> <?php endif; // End for removing "Position" sort option ?> <?php endforeach; ?>
Step 3 : Done!
No comments:
Post a Comment