That's a good question. I'm not sure what is the answer to your question. I'll do some Googling and get back to you if I bump into an decent answer. You should email the people at iPage as they probably can answer it..
It just shows the 9 (or whatever it is set to) most recent additions either in the whole catalogue for the front page or in that category, when on a category page...
If you want to do new products within the last so many months(you could use this - which below is set to the last two months - but can be altered to suit):.
$today = getdate();.
$this_day = '1';.
$temp_month = $today['mon'];.
If ($temp_month > 2).
$this_month = $today['mon'] - 2;.
$this_year = $today['year'] ;.
$this_month = $today['mon'] + 10;.
$this_year = $today['year'] - 1;.
Then include this in the table query:.
And p.products_date_added > ('"$this_year"-"$this_month"-"$this_day."')..
I guess what I'm after is this:.
I converted a customer from another product over to OSCommerce - all of the products were entered individually - and now show up as NEW products. Is there a field or flag somewhere that I can change on ALL of the products to make it so they're not considered NEW?..
Not sure - the other option is to possibly go into the products table in phpmyadmin and change the date added field value for the products to a date futher back...
It can be added to the includes/modules/new_products.php file.
It's some code my host and I put together.
This post has been edited by.
: 12 February 2004, 22:11..
I'm trying to track down what field, in what table, is queried to report a product as being "new" therefore displaying it on the front page - "New Products For February".
MAX_RANDOM_SELECT_NEW in includes/modules/new_products which can be altered within configuration in admin - maximum values - new products module..