heypachuco Posted March 20, 2007 Posted March 20, 2007 Hello, I need to know if a customers shipping address is commercial or residential. To gather this information, I have renamed the "suburb" field to "RES... / Comm..." and marked it a required field. This works, but I would like to move this field to display at the bottom of the customer information on the invoices and packing slips. Right now, the information is displayed like this: NAME ADDRESS RESIDENTIAL or COMMERCIAL CITY, STATE ZIP COUNTRY I would like RESIDENTIAL / COMMERCIAL to be under the COUNTRY. Any help would be greatly appreciated. Thanks.
khime Posted March 20, 2007 Posted March 20, 2007 There is an option to modify the address format go to Admin-> Locations / Taxes -> Countries and you can see there is something called Address Format: 1 This selects the way to display the address for each country You need to edit your address_format table using php myadmin (cant do this over oscommerce admin) You can see the format is something like this $firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country Create a new address_format_id and change the variable so the what you have used RESIDENTIAL OR COMMMERCAL appears at the end. I think you are using $city so it would be like this $firstname $lastname$cr$streets, $postcode$cr$statecomma$country$cr$city
Recommended Posts
Archived
This topic is now archived and is closed to further replies.