Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / I Want to Make Products Appear from Newest to Oldest

I Want to Make Products Appear from Newest to Oldest

15 May 2011, 10:11 PM
#1
keickholt13 avatar

keickholt13

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Post #1 by keickholt13

I have searched this forum, but am still confused. All I want to do is make my products appear from oldest to newest. It does this for the "new product" listing, but not the other categories. The header for new products is: main_page=products_new&disp_order=6, so I tried putting "6" in the product sort order, but it didn't do anything.

Also, the alpha sorter drop down doesn't help because it doesn't have an option to sort by newest to oldest. Alternatively, if I coud just put the drop down sorter that is on the new product page onto the other other categories, but I have no idea how to do that, either! I found the form when I viewed "source" in the browser, but I dont' kow where to put it on Zencart, which php file or WHERE.

Thank you,
Kathleen

15 May 2011, 10:59 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Are you using the product model number field??

Zen-Venom Get Bitten

15 May 2011, 11:11 PM
#3
keickholt13 avatar

keickholt13

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Post #3 by keickholt13

Hello,

I don't have product model numbers for my products. They are just downloads with a title and price. When I was using OSC, I was able to get them to show up from date added, newest to oldest, but doesn't seem to be an option on Zencart.

I did install the new sorter drop down menu, which works, but I still wish I could just get the products to automatically show up from newest to oldest. Right now, it appears they are showing up randomly.

I can view and edit the default_filter.php, but I have NO idea how to mess with the code. I'm sure it's not hard, but I'm clueless with that stuff.

If someone knows how to write the code for the default_filter.php to make the products appear from newest to oldest, that would be great!

Kathleen

15 May 2011, 11:48 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

As you are not using the model number currently FAKE IT

Assign model numbers to your already added products and then when you add a new one

Then in admin > config > layout settings > Categories/Products Display Sort Order > set to option "2"

2= Products Model

admin > my store > Expected Sort Order > should be "desc"

Zen-Venom Get Bitten