Jump to content

[Solved] Categories Sorting


Recommended Posts

Alright ladies and gents,

 

I am needed to order the Categories in a way OTHER than alphabetically.  I will not do 1)Category 2)Category etc, because that looks ridiculous.

 

Is there a way, or a module that will do this for me, or something I need to wait for on the next release.

 

Thanks in advance

Link to comment
Share on other sites

What order you want it to be? IF you want it order by category name or something , you can edit the file

 

classes/Category.php

 

and look for the static method "getCategories"

 

and alter the "ORDER BY" line.

 

hope this helps.

Link to comment
Share on other sites

...Sorry jsmcody, even if it is ridiculous, currently it is the only way...

And don't get me wrong, I'm saying the way I have it looks ridiculous, not the fact it can only be sorted one way.  I have nothing to say but good things about Prestashop, it coders, and its forums  ;D

 

Also, sorry for doubleposting  ::)

Link to comment
Share on other sites

Uh.... I'm pretty sure v1.0RC2 includes the update that allows categories to be named like this:

1.First Category

2.Second Category

3.Third Category

 

but which will show up on the front office as:

 

First Category

Second Category

Third Category

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...