Author Topic: Complete List of States / Provinces / Regions  (Read 1613 times)

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Re: Complete List of States / Provinces / Regions
« Reply #15 on: May 20, 2018, 00:23:49 am »
I checked the file.
You should not add a state_3_code, state_2_code
For eg in france 67 = bas-rhin for postal code
And in your database Bas-Rhin','68','68'
So the code can have right values in some case, but not in other cases.
An empty value is better then a generic one.
Here you can see the ZIP codes per states in france https://fr.wikipedia.org/wiki/Num%C3%A9rotation_des_d%C3%A9partements_fran%C3%A7ais, so you understand the problem.

Well, that would make it much easier! However, I assumed that the 3-code and 2-code were required fields because when entering in a state manually in VM backend, those fields are required.

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Re: Complete List of States / Provinces / Regions
« Reply #16 on: May 20, 2018, 00:26:48 am »
Just a note - for worldwide shipping the 'state/province/region' is useful only if those location names are required in the postal address. In many countries this is not the case.

Yes, I know. However for my case, the business I am building the site for had all states in their previous webstore and wanted to keep it that way.