Guest Posted August 25, 2005 Share Posted August 25, 2005 I've been trying to change the format in which the buyer's address is displayed on the packing slips and invoices. I go into admin/invoices.php and it has the following line to display the addresses: <?php echo tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br>'); ?> So I'm trying to find out where "tep_address_format" address format is being defined so I can switch around the order in which the state and zip code are being displayed..... does that make sense.....? <_< Anyway - if anyone can help, I would appreciate it!!! Thanks Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 Take a look in your includes/functions/general.php , I think its there Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2005 Share Posted August 26, 2005 Take a look in your includes/functions/general.php , I think its there <{POST_SNAPBACK}> I looked in there, but it's not as straight forward as you would think. I'm about 95% sure it's in that file but I don't know what part of the script to edit. It's extremely confusing!! Link to comment Share on other sites More sharing options...
kgt Posted August 26, 2005 Share Posted August 26, 2005 1. In the countries table, find the address_format_id for that country. 2. In the address_format table, change the format for that address_format_id accordingly. (Or create a new format if you don't want to alter for all countries using that format). Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.