<? if ( $this -> custom_fields ): foreach ( $this -> custom_fields as $key => $val ):?>
  <? if ( $key ):?>
    <div class="custom-field">
      <div class="_name">
        <?
          $custom_field = ( new \Domain\Product\ProductRepository( $GLOBALS['mdb'] ) )->findCustomFieldCached( $key );
          echo $custom_field['name'] . ':';
        ?>
      </div>
      <div class="_text">
        <?= $val;?>
      </div>
    </div>
  <? endif;?>
<? endforeach; endif;?>
