That should not happen because the "hikashopWysiwyg" Classe is only declared once through the "administrator/components/com_hikashop/classes/field.php" file, but a solution can be to remove that code through your file :
class hikashopWysiwyg extends hikashopTextarea {
function display($field, $value, $map, $inside, $options = '', $test = false, $allFields = null, $allValues = null) {
$editorHelper = hikashop_get('helper.editor');
$editorHelper->name = $map;
$editorHelper->content = $value;
$editorHelper->id = $this->prefix.@$field->field_namekey.$this->suffix;
$editorHelper->width = '100%';
$editorHelper->cols = empty($field->field_options['cols']) ? 50 : intval($field->field_options['cols']);
$editorHelper->rows = empty($field->field_options['rows']) ? 10 : intval($field->field_options['rows']);
$ret = $editorHelper->display().
'<div style="clear:both"></div>'.
'<script type="text/javascript"><!--'."\r\n".
'if(window.Oby) window.Oby.registerAjax("syncWysiwygEditors", function(){ try{ '.$editorHelper->jsCode().' }catch(err){} });'."\r\n".
'--></script>';
return $ret;
/*
$js = '';
$html = '';
if($inside && strlen($value) < 1){
$value = addslashes($this->trans($field->field_realname));
$this->excludeValue[$field->field_namekey] = $value;
$js = 'onfocus="if(this.value == \''.$value.'\') this.value = \'\';" onblur="if(this.value==\'\') this.value=\''.$value.'\';"';
}
if(!empty($field->field_options['maxlength'])){
static $done = false;
if(!$done){
$jsFunc='
function hikashopTextCounter(textarea, counterID, maxLen) {
cnt = document.getElementById(counterID);
if (textarea.value.length > maxLen){
textarea.value = textarea.value.substring(0,maxLen);
}
cnt.innerHTML = maxLen - textarea.value.length;
}';
if(!HIKASHOP_PHP5) {
$doc =& JFactory::getDocument();
} else {
$doc = JFactory::getDocument();
}
$doc->addScriptDeclaration( "<!--\n".$jsFunc."\n//-->\n" );
$html.= '<span class="hikashop_remaining_characters">'.JText::sprintf('X_CHARACTERS_REMAINING',$this->prefix.@$field->field_namekey.$this->suffix.'_count',(int)$field->field_options['maxlength']).'</span>';
}
$js .= ' onKeyUp="hikashopTextCounter(this,\''.$this->prefix.@$field->field_namekey.$this->suffix.'_count'.'\','.(int)$field->field_options['maxlength'].');" onBlur="hikashopTextCounter(this,\''.$this->prefix.@$field->field_namekey.$this->suffix.'_count'.'\','.(int)$field->field_options['maxlength'].');" ';
}
$cols = empty($field->field_options['cols']) ? '' : 'cols="'.intval($field->field_options['cols']).'"';
$rows = empty($field->field_options['rows']) ? '' : 'rows="'.intval($field->field_options['rows']).'"';
$options .= empty($field->field_options['readonly']) ? '' : ' readonly="readonly"';
return '<textarea class="inputbox" id="'.$this->prefix.@$field->field_namekey.$this->suffix.'" name="'.$map.'" '.$cols.' '.$rows.' '.$js.' '.$options.'>'.$value.'</textarea>'.$html;
*/
}