PDA

View Full Version : Product sold per Month/Year



michael_s
09-14-2010, 05:52 PM
These changes I've added:

----------------------------------------
1) I Have fix the bug of year choise

in catalog/admin/stats_products_per_month.php
replace

if ($jahr_start == 0) { $jahr_start= date("Y")-1; }
if ($jahr_end == 0) { $jahr_end = date("Y"); }

with:

if ($HTTP_GET_VARS['jahr_start'] == 0) {
$jahr_start= date("Y")-1;
} else {
$jahr_start= $HTTP_GET_VARS['jahr_start'];
}
if ($HTTP_GET_VARS['jahr_end'] == 0) {
$jahr_end = date("Y");
} else {
$jahr_end= $HTTP_GET_VARS['jahr_end'];
}

-----------------------------------------------
2) Now you can view all products simultaneously

-----------------------------------------------
3) Added Italian language pack



You can test the files attached but remember:
BACKUP! BACKUP! BACKUP!


RobyKirk
www.ohps.it

More... (http://addons.oscommerce.com/info/4040)