Forums / General Questions / Date driving "new products"

Date driving "new products"

Locked

Views: 537

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Jul 2009, 7:18 PM
#1
pharry avatar

pharry

Zen Follower

Join Date:
Jun 2009
Posts:
131
Plugin Contributions:
0

Date driving "new products"

I am assuming that "date added" is the date that drives the display of "new products", right? And we can excluding expected products, and that logic must use the "date available" date. Am I right so far?

I setup my products well before I receive inventory. So if I'm right with my assumptions, as long as I put a future date in the "date available", they'll be excluded from the new products list, right?

So that brings me to my next question. Or maybe I'm just thinking out loud here... But, since I set my products up so far in advance, but the time I receive inventory, the date is going to be outside the new products range I set. So when I receive inventory, I need to change the "date added" field? Can I do this?

13 Jul 2009, 7:29 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Date driving "new products"

Yes, the date_added field is what's used to drive the new-products selection ... based on the switch you've set in your admin: https://www.zen-cart.com/tutorials/index.php?article=3

If you need to override the date_added value, you can manually fudge the database data using phpMyAdmin if you know what you're doing in the raw database data.

In the upcoming v2.0 release there will be an additional (admin-editable) date_is_new field which will give you greater control over that feature.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Jul 2009, 7:44 PM
#3
pharry avatar

pharry

Zen Follower

Join Date:
Jun 2009
Posts:
131
Plugin Contributions:
0

Re: Date driving "new products"

Okay, thank you. I love the "date-is-new" field - that will be extremely useful.