$layer = Mage::getSingleton('catalog/layer');
$attributes =$layer->getFilterableAttributes();
$w_meta = "";
$w_arr =array();
if(Mage::registry('current_category')){
$w_arr[] =str_replace( '&', 'And',htmlspecialchars_decode(Mage::registry('current_category')->getName()));
}
foreach($attributes as$attribute){
$w_value =Mage::app()->getRequest()->getParam($attribute->getAttributeCode());
if(!empty($w_value)){
if($attribute->getAttributeCode()== 'price'){
$w_arr[] =$attribute->getAttributeCode().':'.str_replace(',','-',$w_value);
}else{
$w_arr[] =$attribute->getAttributeCode().':'.$attribute->getFrontend()->getOption($w_value);
}
}
}
$w_meta = implode(',' ,$w_arr);
$w_meta =str_replace('cat:','',$w_meta);
$this->_data['description'] = str_replace('&', 'And', htmlspecialchars_decode($w_meta));
$attributes =$layer->getFilterableAttributes();
$w_meta = "";
$w_meta = implode(',' ,$w_arr);