Zen Cart Logo
Forums / General Questions / How to modify the date a new product is added?

How to modify the date a new product is added?

Locked

Views: 873

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Mar 2008, 3:31 AM
#1
heather88 avatar

heather88

New Zenner

Join Date:
Mar 2007
Posts:
35
Plugin Contributions:
0

How to modify the date a new product is added?

I need to add a product in such a way that it won't show up in the New Products listing. I understand that the easiest way to do this is to set the date in the DB to an earlier date, add the product, then re-set the date to current, so that Zen Cart will think the newly added product is actually old........ but HOW DO I DO THAT? How/where do I change the date?
Please, any help will be hugely appreciated!

5 Mar 2008, 3:54 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to modify the date a new product is added?

You probably can't change the server's date.

Instead, add the product and then use phpMyAdmin to change the date_added field for that record in the products table.

5 Mar 2008, 4:27 AM
#3
heather88 avatar

heather88

New Zenner

Join Date:
Mar 2007
Posts:
35
Plugin Contributions:
0

Re: How to modify the date a new product is added?

Oh thank you!! Now that's something I know how to do. :D