Jump to content

Is possible to change category order ?


Recommended Posts

Hello all,
in block category is list of category set up to A-Z by default (i gess), is posible make own order of categories? I need some of them put to the end of the list.
Can somebody help please?
Thanks a lot.
Big up to presta team!
Frantisek

Link to comment
Share on other sites

You can change the order of the categoires by date by modifying classes/Category.php assuming you are on RC3
example ORDER BY `id_category` ASC which would be instead of name field, but the only problem with this everytime you update a category it will be moved to the top so you end up trying to update all of them to get the order you want them in, however there may be a way to ORDER BY `date_add` ASC that way all new categories will go to the top

The only other option would be to do some serious mods in the admin & DB to include some type of category sequence.
this would take several hours to do if you need this PM me although doing quite a few other mods at the moment so will not be able to help into the weekend

Link to comment
Share on other sites

Hello,
thanks to all.
It whould be great to get the sequence by placing that numbers, but where i should do it?
I didnt find possibility in any php/tpl folders and even in back office, but maybe i am blind :)
Frantisek

Link to comment
Share on other sites

  • 7 months later...
×
×
  • Create New...