VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: hadareanrares on September 25, 2012, 08:40:12 AM

Title: Custom shipping address layout
Post by: hadareanrares on September 25, 2012, 08:40:12 AM
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