Totally Zenned
- Join Date:
- Mar 2009
- Posts:
- 616
- Plugin Contributions:
- 0
Display product added/modified count in last 7 days in admin
I use this ```
$products_stock = $db->Execute("select sum(products_quantity) as count from " . TABLE_PRODUCTS);
to show current stock total, what I am after is a way to show what has has been added in the last 7 days.
so some kind of where statement would be needed i presume, I've tried working the code myself, but I can't figure it out, hence why I am asking.
Basically, I would like to be able to show how many products have been added or modified in the last 7 days and display that number in the admin.
Thank you in advance