Post by Blueforce » Thu Feb 12, 2009 4:57 pm

Hi,

When I add a new product the "date available" automatically gets todays date "now()".
And the product.php (catalog/model/catalog/product.php) use "date_available < NOW()" when it select/search for products, which ends up making the product available the next day! So.. to have the product show up the same day as I add it I have to set the "date available" one day backwords.
I think it would be better, and also make more sense to use "date_available <= NOW()" instead.
Because I would like to have the product available the date that I enter, not the following day.

Regards,
Leffe

New member

Posts

Joined
Thu Feb 12, 2009 7:11 am
Location - Sweden

Post by Daniel » Thu Feb 12, 2009 7:04 pm

i fisxed this and going to release another version.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Blueforce » Thu Feb 12, 2009 7:50 pm

Thanks!

I really like OpenCart!! Keep up the good work!

/Leffe

New member

Posts

Joined
Thu Feb 12, 2009 7:11 am
Location - Sweden
Who is online

Users browsing this forum: No registered users and 9 guests