Order countries by name
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Order countries by name
Hello,
is it possible to order the countries on the address checkout page by name?
Currently they are sorted by their country code.
In german simbabwe is the last one instead of cyprus:
ZW = "Simbabwe"
CY = "Zypern"
Greetings,
Moritz
is it possible to order the countries on the address checkout page by name?
Currently they are sorted by their country code.
In german simbabwe is the last one instead of cyprus:
ZW = "Simbabwe"
CY = "Zypern"
Greetings,
Moritz
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
Re: Order countries by name
You can change the order via TypoScript configuration:
https://aimeos.org/docs/TYPO3/Configure ... ons_states
Maybe you can translate the page and add the appropriate configuration to that translated page![Lächeln :-)](./images/smilies/icon_e_smile.gif)
https://aimeos.org/docs/TYPO3/Configure ... ons_states
Maybe you can translate the page and add the appropriate configuration to that translated page
![Lächeln :-)](./images/smilies/icon_e_smile.gif)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Order countries by name
Sorry, currently I don't have time to translate the page.
But here is the sorted config for all countries in german.
But here is the sorted config for all countries in german.
Code: Select all
plugin.tx_aimeos.settings.client.html.checkout.standard.address.countries {
0 = AF
# Afghanistan
1 = EG
# Ägypten
2 = AX
# Åland
3 = AL
# Albanien
4 = DZ
# Algerien
5 = AS
# Amerikanisch-Samoa
6 = VI
# Amerikanische Jungferninseln
7 = AD
# Andorra
8 = AO
# Angola
9 = AI
# Anguilla
10 = AQ
# Antarktika
11 = AG
# Antigua und Barbuda
12 = GQ
# Äquatorialguinea
13 = AR
# Argentinien
14 = AM
# Armenien
15 = AW
# Aruba
16 = AZ
# Aserbaidschan
17 = ET
# Äthiopien
18 = AU
# Australien
19 = BS
# Bahamas
20 = BH
# Bahrain
21 = BD
# Bangladesch
22 = BB
# Barbados
23 = BY
# Belarus (Weißrussland)
24 = BE
# Belgien
25 = BZ
# Belize
26 = BJ
# Benin
27 = BM
# Bermuda
28 = BT
# Bhutan
29 = BO
# Bolivien
30 = BQ
# Bonaire, Sint Eustatius und Saba (Niederlande)
31 = BA
# Bosnien und Herzegowina
32 = BW
# Botswana
33 = BV
# Bouvetinsel
34 = BR
# Brasilien
35 = VG
# Britische Jungferninseln
36 = IO
# Britisches Territorium im Indischen Ozean
37 = BN
# Brunei Darussalam
38 = BG
# Bulgarien
39 = BF
# Burkina Faso
40 = BI
# Burundi
41 = CL
# Chile
42 = CN
# China, Volksrepublik
43 = CK
# Cookinseln
44 = CR
# Costa Rica
45 = CI
# Côte d’Ivoire
46 = CW
# Curaçao
47 = DK
# Dänemark
48 = DE
# Deutschland
49 = DM
# Dominica
50 = DO
# Dominikanische Republik
51 = DJ
# Dschibuti
52 = EC
# Ecuador
53 = SV
# El Salvador
54 = ER
# Eritrea
55 = EE
# Estland
56 = FK
# Falklandinseln
57 = FO
# Färöer
58 = FJ
# Fidschi
59 = FI
# Finnland
60 = FR
# Frankreich
61 = GF
# Französisch-Guayana
62 = PF
# Französisch-Polynesien
63 = TF
# Französische Süd- und Antarktisgebiete
64 = GA
# Gabun
65 = GM
# Gambia
66 = GE
# Georgien
67 = GH
# Ghana
68 = GI
# Gibraltar
69 = GD
# Grenada
70 = GR
# Griechenland
71 = GL
# Grönland
72 = GP
# Guadeloupe
73 = GU
# Guam
74 = GT
# Guatemala
75 = GG
# Guernsey (Kanalinsel)
76 = GN
# Guinea
77 = GW
# Guinea-Bissau
78 = GY
# Guyana
79 = HT
# Haiti
80 = HM
# Heard und McDonaldinseln
81 = HN
# Honduras
82 = HK
# Hongkong
83 = IN
# Indien
84 = ID
# Indonesien
85 = IM
# Insel Man
86 = IQ
# Irak
87 = IR
# Iran, Islamische Republik
88 = IE
# Irland
89 = IS
# Island
90 = IL
# Israel
91 = IT
# Italien
92 = JM
# Jamaika
93 = JP
# Japan
94 = YE
# Jemen
95 = JE
# Jersey
96 = JO
# Jordanien
97 = KY
# Kaimaninseln
98 = KH
# Kambodscha
99 = CM
# Kamerun
100 = CA
# Kanada
101 = CV
# Kap Verde
102 = KZ
# Kasachstan
103 = QA
# Katar
104 = KE
# Kenia
105 = KG
# Kirgisistan
106 = KI
# Kiribati
107 = CC
# Kokosinseln
108 = CO
# Kolumbien
109 = KM
# Komoren
110 = CD
# Kongo, Demokratische Republik
111 = KP
# Korea, Demokratische Volksrepublik (Nordkorea)
112 = KR
# Korea, Republik (Südkorea)
113 = HR
# Kroatien
114 = CU
# Kuba
115 = KW
# Kuwait
116 = LA
# Laos, Demokratische Volksrepublik
117 = LS
# Lesotho
118 = LV
# Lettland
119 = LB
# Libanon
120 = LR
# Liberia
121 = LY
# Libyen
122 = LI
# Liechtenstein
123 = LT
# Litauen
124 = LU
# Luxemburg
125 = MO
# Macao
126 = MG
# Madagaskar
127 = MW
# Malawi
128 = MY
# Malaysia
129 = MV
# Malediven
130 = ML
# Mali
131 = MT
# Malta
132 = MA
# Marokko
133 = MH
# Marshallinseln
134 = MQ
# Martinique
135 = MR
# Mauretanien
136 = MU
# Mauritius
137 = YT
# Mayotte
138 = MK
# Mazedonien
139 = MX
# Mexiko
140 = FM
# Mikronesien
141 = MD
# Moldawien (Republik Moldau)
142 = MC
# Monaco
143 = MN
# Mongolei
144 = ME
# Montenegro
145 = MS
# Montserrat
146 = MZ
# Mosambik
147 = MM
# Myanmar (Burma)
148 = NA
# Namibia
149 = NR
# Nauru
150 = NP
# Nepal
151 = NC
# Neukaledonien
152 = NZ
# Neuseeland
153 = NI
# Nicaragua
154 = NL
# Niederlande
155 = NE
# Niger
156 = NG
# Nigeria
157 = NU
# Niue
158 = MP
# Nördliche Marianen
159 = NF
# Norfolkinsel
160 = NO
# Norwegen
161 = OM
# Oman
162 = AT
# Österreich
163 = TL
# Osttimor
164 = PK
# Pakistan
165 = PW
# Palau
166 = PA
# Panama
167 = PG
# Papua-Neuguinea
168 = PY
# Paraguay
169 = PE
# Peru
170 = PH
# Philippinen
171 = PN
# Pitcairninseln
172 = PL
# Polen
173 = PT
# Portugal
174 = PR
# Puerto Rico
175 = TW
# Republik China (Taiwan)
176 = CG
# Republik Kongo
177 = RE
# Réunion
178 = RW
# Ruanda
179 = RO
# Rumänien
180 = RU
# Russische Föderation
181 = BL
# Saint-Barthélemy
182 = MF
# Saint-Martin
183 = PM
# Saint-Pierre und Miquelon
184 = SB
# Salomonen
185 = ZM
# Sambia
186 = WS
# Samoa
187 = SM
# San Marino
188 = ST
# São Tomé und Príncipe
189 = SA
# Saudi-Arabien
190 = SE
# Schweden
191 = CH
# Schweiz
192 = SN
# Senegal
193 = RS
# Serbien
194 = SC
# Seychellen
195 = SL
# Sierra Leone
196 = ZW
# Simbabwe
197 = SG
# Singapur
198 = SX
# Sint Maarten
199 = SK
# Slowakei
200 = SI
# Slowenien
201 = SO
# Somalia
202 = ES
# Spanien
203 = LK
# Sri Lanka
204 = SH
# St. Helena
205 = KN
# St. Kitts und Nevis
206 = LC
# St. Lucia
207 = VC
# St. Vincent und die Grenadinen
208 = PS
# Staat Palästina
209 = ZA
# Südafrika
210 = SD
# Sudan
211 = GS
# Südgeorgien und die Südlichen Sandwichinseln
212 = SS
# Südsudan
213 = SR
# Suriname
214 = SJ
# Svalbard und Jan Mayen
215 = SZ
# Swasiland
216 = SY
# Syrien, Arabische Republik
217 = TJ
# Tadschikistan
218 = TZ
# Tansania, Vereinigte Republik
219 = TH
# Thailand
220 = TG
# Togo
221 = TK
# Tokelau
222 = TO
# Tonga
223 = TT
# Trinidad und Tobago
224 = TD
# Tschad
225 = CZ
# Tschechische Republik
226 = TN
# Tunesien
227 = TR
# Türkei
228 = TM
# Turkmenistan
229 = TC
# Turks- und Caicosinseln
230 = TV
# Tuvalu
231 = UG
# Uganda
232 = UA
# Ukraine
233 = HU
# Ungarn
234 = UM
# United States Minor Outlying Islands
235 = UY
# Uruguay
236 = UZ
# Usbekistan
237 = VU
# Vanuatu
238 = VA
# Vatikanstadt
239 = VE
# Venezuela
240 = AE
# Vereinigte Arabische Emirate
241 = US
# Vereinigte Staaten von Amerika
242 = GB
# Vereinigtes Königreich Großbritannien und Nordirland
243 = VN
# Vietnam
244 = WF
# Wallis und Futuna
245 = CX
# Weihnachtsinsel
246 = EH
# Westsahara
247 = CF
# Zentralafrikanische Republik
248 = CY
# Zypern
}
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3