Open Attributes which is using in layered navigation and there is field/textbox to add position values Under Front End properties.
Put position as per your requirement.
Then reindex also.
If want to set Category filter position, then follow these steps:
Copy file:
app\code\core\Mage\Catalog\Block\Layer\View.php
Paste file: app\code\local\Mage\Catalog\Block\Layer\View.php
Then Update code of
app\code\local\Mage\Catalog\Block\Layer\View.php
file.
Replace
getFilters()
function code with below code:public function getFilters()
{
$filters = array();
$catFilters = array(); // Created New array
if ($categoryFilter = $this->_getCategoryFilter()) {
$catFilters[] = $categoryFilter; // Assign category to new array
}
$filterableAttributes = $this->_getFilterableAttributes();
foreach ($filterableAttributes as $attribute) {
$filters[] = $this->getChild($attribute->getAttributeCode() . '_filter');
}
/* Pushed category filter array to position 1,
if want to change position then update value in this function. */
array_splice( $filters, 1, 0, $catFilters );
return $filters;
}
EmoticonEmoticon