Hi Jan,
If you really want to do that, I think that you'll have to :
- Edit the file "Hikashop/back/classes/field.php"
- Change the line :
function display(&$field, $value, $map, $inside = false, $options = '', $test = false, $allFields = null, $allValues = null){
$field_type = $field->field_type;
if(substr($field->field_type,0,4) == 'plg.') {
$field_type = substr($field->field_type,4);
JPluginHelper::importPlugin('hikashop', $field_type);
}
$classType = 'hikashop'.ucfirst($field_type);
$class = new $classType($this);
if(is_string($value))
$value = htmlspecialchars($value, ENT_COMPAT,'UTF-8');
$html = $class->display($field,$value,$map,$inside,$options,$test,$allFields,$allValues);
if(!empty($field->field_required)){
$html .=' <span class="hikashop_field_required">*</span>';
}
return $html;
}
by :
function display(&$field, $value, $map, $inside = false, $options = '', $test = false, $allFields = null, $allValues = null){
$field_type = $field->field_type;
if(substr($field->field_type,0,4) == 'plg.') {
$field_type = substr($field->field_type,4);
JPluginHelper::importPlugin('hikashop', $field_type);
}
$classType = 'hikashop'.ucfirst($field_type);
$class = new $classType($this);
if(is_string($value))
$value = htmlspecialchars($value, ENT_COMPAT,'UTF-8');
$html= '';
if(!empty($field->field_required)){
$html .=' <span class="hikashop_field_required">*</span>';
}
$html .= $class->display($field,$value,$map,$inside,$options,$test,$allFields,$allValues);
return $html;
}
Hope this will help you a little.