This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorials:zencartmods:inventory_report_5.html [2011/08/29 19:45] daigo |
tutorials:zencartmods:inventory_report_5.html [2011/08/29 19:46] daigo |
||
---|---|---|---|
Line 4: | Line 4: | ||
Here's one of our functions, which simply makes a giant array of how many of each product we've sold in the past week, 2 weeks, 4 kees, 6 weeks, etc. | Here's one of our functions, which simply makes a giant array of how many of each product we've sold in the past week, 2 weeks, 4 kees, 6 weeks, etc. | ||
Save this into a file called **admin/includes/functions/extra_functions/stats_functions.php** | Save this into a file called **admin/includes/functions/extra_functions/stats_functions.php** | ||
- | <code> | + | <code php> |
<?php | <?php | ||
function getSalesStats() | function getSalesStats() |