News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom shipping address layout

Started by hadareanrares, September 25, 2012, 08:40:12 AM

Previous topic - Next topic

hadareanrares

Hello!

Could it be possible to call the shipmentfields by their field name?

This is the code to modify
<?php
       foreach ($this->shipmentfields['fields'] as $field) {
      if (!empty($field['value'])) {
          echo '<tr><td class="key">' . $field['title'] . '</td>'
          . '<td>' . $field['value'] . '</td></tr>';
      }
       }
       ?>

Eg. call the address_1 field for once

Thanks