<div id="hikashop_product_custom_item_info" class="hikashop_product_custom_item_info">
<table width="100%">
<?php
foreach ($this->itemFields as $fieldName => $oneExtraField) {
$itemData = JRequest::getString('item_data_' . $fieldName, $this->element->$fieldName);
?>
<tr id="hikashop_item_<?php echo $oneExtraField->field_namekey; ?>" class="hikashop_item_<?php echo $oneExtraField->field_namekey;?>_line">
<td class="key">
<span id="hikashop_product_custom_item_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_item_name"><?php
echo $this->fieldsClass->getFieldName($oneExtraField);
?></span>
</td>
<td>
<span id="hikashop_product_custom_item_value_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_item_value"><?php
$onWhat='onchange';
if($oneExtraField->field_type=='radio')
$onWhat='onclick';
$oneExtraField->product_id = $this->element->product_id;
echo $this->fieldsClass->display(
$oneExtraField,
$itemData,
'data[item]['.$oneExtraField->field_namekey.']',
false,
' '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\'item\',0);"'
);
?></span>
</td>
</tr>
<?php
}
?>
</table>
</div>
I attached a screenshot below.