Before making any edits - MAKE BACKUPS!!!In
checkout_shipping.php look for this line:
CODE
<td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td>
Replace it with this:
CODE
<td class="main" valign="top">
<?php
$str = tep_address_label($customer_id, $sendto, true, ' ', '<br>');
$pieces = explode("<br>", $str);
$alen = count($pieces);
$retval = '';
for ($ii=0; $ii<$alen; $ii++) {
if ( strstr($pieces[$ii], ',' ) ) {
$parts = explode(",", $pieces[$ii]);
$retval .= $parts[0];
$retval .= ',<br>';
$retval .= $parts[1];
$retval .= '<br>';
}
else {
$retval .= $pieces[$ii];
$retval .= '<br>';
}
}
echo $retval;
?></td>
In
checkout_payment.php look for this line:
CODE
<td class="main" valign="top"><?php echo tep_address_label($customer_id, $billto, true, ' ', '<br>'); ?></td>
Replace it with this:
CODE
<td class="main" valign="top">
<?php
$str = tep_address_label($customer_id, $billto, true, ' ', '<br>');
$pieces = explode("<br>", $str);
$alen = count($pieces);
$retval = '';
for ($ii=0; $ii<$alen; $ii++) {
if ( strstr($pieces[$ii], ',' ) ) {
$parts = explode(",", $pieces[$ii]);
$retval .= $parts[0];
$retval .= ',<br>';
$retval .= $parts[1];
$retval .= '<br>';
}
else {
$retval .= $pieces[$ii];
$retval .= '<br>';
}
}
echo $retval;
?></td>
Does that work for you?