Sorting order status

07.02.2022 16:49
#1
CCD
Joomshopping forum user no avatar
Name: Frank
31.10.2014
Posts: 58
Quote
Sorting order status

Hi Admin,
is there a possibility in the backend under "Options" to sort the order status by the title in German and not the standard "status_id"??

Regards, Frank


Joomla: 4.0.6.
JoomShopping: 5.0.3
PHP: 7.4
MySQL: 5.7.25
Website Url: www.capri-ersatzteile.de
 
08.02.2022 11:11
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25923
Quote
Aw: Sorting order status

Yes. Click on title.

 
08.02.2022 12:34
#3
CCD
Joomshopping forum user no avatar
Name: Frank
31.10.2014
Posts: 58
Quote
Aw: Sorting order status

admin - 08.02.2022 11:11
Yes. Click on title.

I know thanks... but we always want it sorted alphabetically by default so that when the status in the order changes it is found alphabetically.

 
08.02.2022 15:08
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25923
Quote
Aw: Sorting order status

components\com_jshopping\helpers\selectoptions.php

$list = JSFactory::getModel("orders")->getAllOrderStatus();

change to

$list = JSFactory::getModel("orders")->getAllOrderStatus('`name_de-DE`', 'ASC');

 
08.02.2022 16:17
#5
CCD
Joomshopping forum user no avatar
Name: Frank
31.10.2014
Posts: 58
Quote
Aw: Sorting order status

Thanks again... it works fine!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.