Hi,
Thanks for replay Philip.
Well yes, it gives array for filter_value if filter is by price. However if it's by characteristics it gives " string(0)".
I have looked into "administrator/components/com_hikashop/classes/filter.php and found this line:
if($filter->filter_data=='characteristic'){
$characteristic_values=parent::getCharacteristics($filter, $datas);
if(!empty($characteristic_values)){
foreach($characteristic_values as $val){
$checked=''; $deleteButton='';
if(!empty($selected) && is_array($selected) && in_array($val->characteristic_id, $selected)){
$checked='checked="checked"';
if($type=='radio'){ $deleteButton=' '.parent::getDeleteButton($filter, $divName, '', $html, '', true, 'filter_'.$filter->filter_id.'_'.$val->characteristic_id.'_'.$divName); }
}
$html.='<span class="hikashop_filter_checkbox"><input '.$onClick.' '.$checked.' type="'.$type.'" name="filter_'.$filter->filter_namekey.$tab.'" value="'.$val->characteristic_id.'" id="filter_'.$filter->filter_id.'_'.$val->characteristic_id.'_'.$divName.'"/><label for="filter_'.$filter->filter_id.'_'.$val->characteristic_id.'_'.$divName.'">'.$val->characteristic_value.'</label>'.$deleteButton.'</span>'.$br;
}
}
}
I think i miss some connection between characteristics...
So question is same. How can i get each filter characteristic value id?
Thanks for help.
Kind Regards