Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Is there somewhere I can go that will explain about address formats. I am adding Sweden to my shipping options and where I go to add the country, it asks for the address format and gives a multiple choice of 1 - 5. Any help will be appreciated.

Posted

Address formats are stored in the database table:  address_format

You now need to determine how a swedish address is set out...and insert a new format into the table.  I cannot remember if there is a page in admin to allow you to do that, so might need to be done direct on the database using (eg) phpmyadmin.

Posted

These are the address formats you can choose from in Admin -> Locations/Taxes -> Countries as they appear in the database

(the number is the address format id, $cr means a new line. the section with the / is the summary format)

(1, '$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country', '$city / $country'),
(2, '$firstname $lastname$cr$streets$cr$city, $state    $postcode$cr$country', '$city, $state / $country'),
(3, '$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country', '$state / $country'),
(4, '$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country', '$postcode / $country'),
(5, '$firstname $lastname$cr$streets$cr$postcode $city$cr$country', '$city / $country');

The only way to change them is by editing the database correctly.

osCommerce user since 2003! :thumbsup:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...