This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
tutorials:zencartmods:daily_stats.html [2011/06/08 15:30] daigo |
tutorials:zencartmods:daily_stats.html [2016/01/28 18:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Make a Daily Sales Stats Page ==== | ==== Make a Daily Sales Stats Page ==== | ||
| + | |||
| + | {{:tutorials:zencartmods:dailystats.gif|}} | ||
| We like to have a quick and easy way to see how sales are doing every day. | We like to have a quick and easy way to see how sales are doing every day. | ||
| Line 14: | Line 16: | ||
| === admin/includes/boxes/extra_boxes/daily_stats_reports_dhtml.php === | === admin/includes/boxes/extra_boxes/daily_stats_reports_dhtml.php === | ||
| - | This filename decides which menu to put the link under. We're going to put it under "reports", you can put it under whatever you like. | + | This filename decides which menu to put the link under. We're going to put it under "Reports", you can put it under whatever you like. |
| This is the entire contents of this file | This is the entire contents of this file | ||
| Line 41: | Line 43: | ||
| </code> | </code> | ||
| - | === admin/daily_stats.php === | + | After these 3 files are created, you should have a menu item under "Reports" that looks like this. |
| - | This is the actual Helper File. You can put anything you want in here, or use the quick and easy tariff editing file that we've already created. | + | {{:tutorials:zencartmods:daily_menu.png|}} |
| + | |||
| + | But the link doesnt go anywhere yet, so lets make that file next. | ||
| + | |||
| + | |||
| + | === admin/daily_stats.php === | ||
| + | You can make the actual stats file as fancy as you like, we have a very simple and bare-bones version that you can use here. | ||
| - | {{edit_tariffs.php.zip|edit_tariffs.php.zip}} | + | {{:tutorials:zencartmods:daily_stats.php.zip|}} |