Jump to content

Как отсортировать производителей по порядку сортировки, а не алфавиту


Откройте 


OpenCart 2 catalog/model/catalog/ocfilter.php

OpenCart 3 catalog/model/[extension]/module/ocfilter.php

 

и замените

 

ORDER BY m.name ASC

на

ORDER BY m.sort_order ASC, m.name ASC

сохраните файл, очистите системный кэш и проверьте


×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.