Category Sort No Longer Works

For almost two years all our categories were ordered using “POS” numeric allocations and with “Product List” set to default. Works with all other options except “default”. Leaving it in default displays categories and products in alphabetical order.



CS-Cart 2.0.12 … yes, I know it's old but our site is too customized to upgrade and it has worked just fine until now.



Any help will be much appreciated.



www.aerospacelogic.com

If you haven't changed versions and it use to work but no longer does, wouldn't the appropriate question be “what did you change recently on your site?”



The fn_get_categories() routine has functioned the same forever… It sort first by Position, then by Alphabetical. So if you do have positions set and have not changed the block or controller you are using that requests the categories (yes, sort order can be change by the requesting caller) then you should still get the same behavior.



What do you have the default category list method set to? It could very well be that whatever you have set as the default is forcing the order to alpha.

[quote name='tbirnseth' timestamp='1319778734' post='124746']

If you haven't changed versions and it use to work but no longer does, wouldn't the appropriate question be “what did you change recently on your site?”



Now that is the FIRST question we asked! It is as a last resort that I ask here. No, we have not changed anything in the last six months and all was fine. That said, I cannot speak for our hosting company who also claims that they have made no changes either.



Category layout set to “Custom” … as it always has been. I have tried other options but no change.



The fn_get_categories() routine has functioned the same forever… It sort first by Position, then by Alphabetical. So if you do have positions set and have not changed the block or controller you are using that requests the categories (yes, sort order can be change by the requesting caller) then you should still get the same behavior.



What do you have the default category list method set to? It could very well be that whatever you have set as the default is forcing the order to alpha.

[/quote]