Quote:
The address that appears in the packing slip would be based on the database table address_format, as defined by this line (around 104) out of the file admin/packingslip.php:
Code:
<td class="dataTableContent"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td>
File admin/packingslip.php shows:
<td class="dataTableContent"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td>
which matches what you gave.
Quote:
So if your address_format table entry 2 shows:
Code:
$firstname $lastname$cr$streets$cr$city $state $postcode$cr$country
then your US packing slip should show (where $cr are the equivalent of linebreaks):
First/Last Names
Street
City State Post/Zipcode
Country
Perhaps double check the code above, esp the address_format table?
Are you definitely talking 'packing slip' or 'invoice'?
Simon
The address_format table entry 2 shows:
$firstname $lastname$cr$streets$cr$city, $state $postcode$cr$country
It's not just the packing slip and invoice that are wrong, but the order detail page itself, as well.
Whenever I add a new customer, it shows the address to be out of order in every place where that address would appear.... The order details page, packing slip, invoice, etc.
Oddly enough, it is correct in every place when the customer enters the information themselves.