[Skip to main content](#vessel-content)

#   List of countries / Order drop-down list

##

- **[vincent29bzh](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile")**
- [![vincent29bzh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile") Topic Author
- [ Offline](/forum/user/59532-vincent29bzh)

Less More

- Posts: 18
- Thank you received: 2
-
-

6 years 2 months ago [\#323940](#323940) by [vincent29bzh](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile")  *[List of countries / Order drop-down list](/forum/28-shipping-methods/900792-list-of-countries-order-drop-down-list#323940 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.4.9  Hello, Sorry for my English ;-) I want to change the order of countries in the drop-down list. Example: Display &quot;Metropolitan France&quot; first. Or apply changes? Thank you cordially Vincent")* was created by *[vincent29bzh](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.4.9

Hello,
Sorry for my English ![;-)](/media/kunena/emoticons/24.png ";-)")
I want to change the order of countries in the drop-down list.
Example: Display "Metropolitan France" first. Or apply changes?
Thank you
cordially
Vincent

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTAwNzkyLWxpc3Qtb2YtY291bnRyaWVzLW9yZGVyLWRyb3AtZG93bi1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

6 years 2 months ago [\#323942](#323942) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[List of countries / Order drop-down list](/forum/28-shipping-methods/900792-list-of-countries-order-drop-down-list#323942 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.4.9  Hello, Sorry for my English ;-) I want to change the order of countries in the drop-down list. Example: Display &quot;Metropolitan France&quot; first. Or apply changes? Thank you cordially Vincent")*

Hi,

The order is alphabetic.
So you could cheat by changing the name of the zone in the menu System&gt;Zones.
If you want to sort differently, then you would have to change the code: Code:

$query .= ' WHERE '.implode(' AND ',$filters).' ORDER BY a.zone_name_english ASC';

in the file administrator/components/com_hikashop/types/country.php but I don't recommend doing that as you'll loose your changes when you update HikaShop and you'll have to reapply them each time.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTAwNzkyLWxpc3Qtb2YtY291bnRyaWVzLW9yZGVyLWRyb3AtZG93bi1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vincent29bzh](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile")**
- [![vincent29bzh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile") Topic Author
- [ Offline](/forum/user/59532-vincent29bzh)

Less More

- Posts: 18
- Thank you received: 2
-
-

6 years 2 months ago [\#323955](#323955) by [vincent29bzh](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile")  Replied by *[vincent29bzh](/forum/user/59532-vincent29bzh "View vincent29bzh's Profile")* on topic *[List of countries / Order drop-down list](/forum/28-shipping-methods/900792-list-of-countries-order-drop-down-list#323955 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.4.9  Hello, Sorry for my English ;-) I want to change the order of countries in the drop-down list. Example: Display &quot;Metropolitan France&quot; first. Or apply changes? Thank you cordially Vincent")*

Thanks Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTAwNzkyLWxpc3Qtb2YtY291bnRyaWVzLW9yZGVyLWRyb3AtZG93bi1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
