I have seen lots of people who discussed about this issue, also given plenty of ideas, but i am still stuck at the issue. As per the answer at this link, i have written the new function to get the active filters value at view.php
app/code/local/Mage/Catalog/Block/Layer/View.php,
public function getActiveFilters()
{
$filters = $this->getLayer()->getState()->getFilters();
foreach($filters as $filter){
$active[] = $this->getChild($filter->getFilter()->getRequestVar().'_filter');
}
return $active;
}
this function gives the value of the current filter name
,label
.
at view.phtml,
$_active = $this->getActiveFilters();
foreach ($_active as $active) {?>
<select class="filter_box col-xs-12" onchange="filter(this.value)">
<option value="#"><?php echo $this->__($active->getName()) ?></option>
<?php echo $active->getHtml() ?>
</select>
<?php }?>
In this link, @B00MER mentioned extending the filter class will solve the issue also provided the code for the Category Filter. I have checked it at my magento site, but there is no changes. It is just displaying the filter without any option.
I don't know how to achieve it, also don't know the method which i am using ,is correct or not.
Can someone point me the right solution for this issue.
Thanks.