Is there a way to resort the categories so that they display alphabetically in the list in the left box?
As it stands, if I add a category it always show up at the bottom.
TIA,
---JC
Is there a way to resort the categories so that they display alphabetically in the list in the left box?
As it stands, if I add a category it always show up at the bottom.
TIA,
---JC
By default the Categories sort by sort order, category name ... if you have no sort order than you will get categories name ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
If you look at the SELECT statements in the class categories_tree, they all use:
Unless you are using something else for your categories sidebox, that is the way things are sorted ...Code:order by sort_order, cd.categories_name";
You could customize that, but if you are not using the categories sort order, and just the categories_name, then it is difficult to say why they do not sort by name for you ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks, this gave me the clue.
I checked the category table in Navicat and the 'sort' column was all Nulls. I set the values to 0 and all is well.
We moved servers several months ago and did an import/export. Must've happened then and I didn't notice because we haven't changed any categories since then.
CHEERS!
---JC