Forums / General Questions / The New products page order?

The New products page order?

Locked

Started by my_web on 13 Dec 2006, 5:47 PM · Views: 1,012

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Dec 2006, 5:47 PM
#1
my_web avatar

my_web

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

The New products page order?

Hi everyone

I can't get the new products on the main page to change their sorting order.

I want them to go by date added so that the newest appear first. But I can't get it to work through the admin??

Can anyone help please?

Finally up and running:
Hip Hop & Urban Clothing Site
A big thanks to Zen and the Zen community ;-)

13 Dec 2006, 6:22 PM
#2
kobra avatar

kobra

Black Belt

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

Re: The New products page order?

I think that the New Products on the main page is a different display than the New Products when selected in the side box.

As such, there is a different "tpl" display file and resulting display order and I do not believe that this is controlled via the admin. It may be defined in the tpl fie.

Zen-Venom Get Bitten

13 Dec 2006, 7:17 PM
#3
my_web avatar

my_web

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Re: The New products page order?

Thanks for the reply

Could you tell me which file this could be in?

I've found
tpl_index_default.php
tpl_modules_whats_new.php

If it's these I can't seem to see where or how I could change the order?

Any help woud be great!

Finally up and running:
Hip Hop & Urban Clothing Site
A big thanks to Zen and the Zen community ;-)

13 Dec 2006, 8:20 PM
#4
kobra avatar

kobra

Black Belt

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

Re: The New products page order?

To get you started: Look at tpl_modules_whats_new.php and you find these:

include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEW_PRODUCTS
require($template->get_template_dir('tpl_columnar_display.php
```Then in includes/modules/new_products.php the order is defined as random

$new_products->MoveNextRandom();

require($template->get_template_dir('/tpl_modules_listing_display_order.php'

Zen-Venom Get Bitten

13 Dec 2006, 8:36 PM
#5
kobra avatar

kobra

Black Belt

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

Re: The New products page order?

Just was looking for another Item and ran across this and wondered if you might have not found this or if it did not do what you wanted:

admin > config > index listing > Show New Products on Main Page - Category with SubCategories > and there are 5 options

Yes no distinct description bu this is worth a try if you have not already tried it

Zen-Venom Get Bitten

14 Dec 2006, 9:02 AM
#6
my_web avatar

my_web

New Zenner

Join Date:
Nov 2006
Posts:
17
Plugin Contributions:
0

Re: The New products page order?

No I hadn't found these but after looking they don't seem to make much difference lol. I think that is just for the order in which each thing is displayed as in Main info then New Products then Featured products but not actually the order each product is in.

I haven't had time to look at the coding properly yet but I'll try and look today.

Thanks for your help

Finally up and running:
Hip Hop & Urban Clothing Site
A big thanks to Zen and the Zen community ;-)