Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Sort order of Categories...

Sort order of Categories...

Locked

Views: 1,155

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Mar 2007, 10:50 PM
#1
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Sort order of Categories...

I need some help in changing the sort order of all my categories...

Currently all products in each category are displaying in alphabetical order.
I would like them to display by date added, most recent first.

I am not sure where to do this.
I am aware of the settings in admin for Product Listing, etc... those are not what I need.

p.s If this requires editing a php file... I have absolutely NO knowlege of php.:lookaroun

3 Mar 2007, 8:20 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sort order of Categories...

The bad news is that there is no ability for product listing to sort by date added (All, Featured & New do have this.)

There is a setting in admin > Configuration > Product Listing for "Display Product Listing Default Sort Order". Unfortunately, there is no documentation there of how to get various kinds of results.

If you get the sort order looking the way you want (by clicking on headings in the product listing), you can then look up in the address bar and see the sort order (like this: /index.php?main_page=index&cPath=58_60&page=1&sort=3a).
Paste the number (e.g. 3a) into the setting text field.

See this thread for more info - especially posts 9 & 22.