you can use the function array_shift skip 1 element, starting from the second ?
I have an array 1,2,3,4,5,6,7,8
need 2,3,4,5
foreach ($this->fields as $fieldName => $oneExtraField) {
static $count=0;$count++;if($count>4) continue;
$value = '';
if(empty($this->element->$fieldName) && !empty($this->element->main->$fieldName)) $this->element->$fieldName = $this->element->main->$fieldName;
if(isset($this->element->$fieldName)) $value = trim($this->element->$fieldName);
if(!empty($value) || $value === '0')
{ $displayTitle = true;?>
<tr class="hikashop_product_custom_<?php echo $oneExtraField->field_namekey;?>_line">
<td class="key">
<span id="hikashop_product_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_name">
<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
</span>
</td>
<td>
<span id="hikashop_product_custom_value_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_value">
<?php echo $this->fieldsClass->show($oneExtraField,$value); ?>
</span>
</td>
</tr>