Sorting Langage In Alphabetical Order Or By Position

Hello,

I try to display the different langage in alphabetical order or better by position in admin.

Actually the langage seems to be display by ID, it is quite strange...

I haven't find any solution in knowledge base.

For sample in the demo store the langage aren't in alphabetical order !!! you have English German Danish,...

Thanks for your help

Hello,

I try to display the different langage in alphabetical order or better by position in admin.

Actually the langage seems to be display by ID, it is quite strange...

I haven't find any solution in knowledge base.

For sample in the demo store the langage aren't in alphabetical order !!! you have English German Danish,...

Thanks for your help

Unfortunately, some PHP code changes are required to be made to implement this feature. You can make them yourself (if you know PHP) or hire a third-party developer.

app/Tygh/Languages/Languages.php

replace:

$join = $order_by = "";

with

$join = "";
$order_by = " ORDER BY l.name ASC";

(!) Not tested

Dear Ecomlabs,

thanks for your solution, that's perfect.

Unfortunatelly we can't do surcharge like in magento so I need to keep in mind the solution if I update cs-cart in future.

Dear Ecomlabs,

thanks for your solution, that's perfect.

Unfortunatelly we can't do surcharge like in magento so I need to keep in mind the solution if I update cs-cart in future.

Yes, unfortunately this function does not have hooks