chrometweaks.org

Problem when trying to upload iweb website to iPage website?

Click Here To View All Answers...


Quick question: Problem when trying to upload iweb website to iPage website? Many thanks for any answer. Another question... 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".

Thanks..

Comments (12)

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..

Comment #1

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...

Comment #2

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'] ;.

}.

Else.

{.

$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."')..

Comment #3

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?..

Comment #4

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...

Comment #5

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.

Yesudo.com.

: 12 February 2004, 22:11..

Comment #6

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".

Thanks..

Comment #7

MAX_RANDOM_SELECT_NEW in includes/modules/new_products which can be altered within configuration in admin - maximum values - new products module..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.