The only alternate solution that I came up with requires modification of the* zen_address_format* function, present in both SIZE=1[/SIZE] /YOUR_ADMIN/includes/functions/functions_customer.php and /includes/functions/functions_customer.php. Towards the end of each function, find this block:
$fmt = $address_format->fields['format'];
eval("\$address_out = \"$fmt\";");
if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) {
$address_out = $company . $cr . $address_out;
}
return $address_out;
and change by simply reordering the lines, to:
$fmt = $address_format->fields['format'];
if (ACCOUNT_COMPANY == 'true' && zen_not_null ($company)) {
$fmt = str_replace ('$lastname$cr', '$lastname$cr$company$cr', $fmt);
}
eval("\$address_out = \"$fmt\";");
return $address_out;