Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help! Sales_report question


Recommended Posts

I just download sales_report V2U6 from the link

http://www.oscommerce.com/community/contri...rch,sale+report

 

 

(1)Put the file into the location:

 

catalog/admin/stats_sales_report2.php

catalog/admin/includes/classes/sales_report2.php

catalog/admin/induces/languages/english/stats_sales_report2.php

 

 

(2)catalog/admin/includes/boxes/reports.php

 

reports.php=====> tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS,

BOX_REPORTS_ORDERS_TOTAL));

Insert

tep_admin_files_boxes(FILENAME_STATS_SALES_REPORT2, BOX_REPORTS_SALES_REPORT2)

 

But I can't find the tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS,

BOX_REPORTS_ORDERS_TOTAL)); in the reports.php(catalog/admin/includes/boxes/reports.php )

 

What's wrong? Can anyone help me?

 

==================================================================

 

the reports.php code:

 

 

 

<?php

/*

$Id: reports.php,v 1.5 2003/07/09 01:18:53 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- reports //-->

<tr>

<td>

<?php

$heading = array();

$contents = array();

 

$heading[] = array('text' => BOX_HEADING_REPORTS,

'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, 'selected_box=reports'));

 

if ($selected_box == 'reports') {

$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_VIEWED . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_PURCHASED . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>');

}

 

$box = new box;

echo $box->menuBox($heading, $contents);

?>

</td>

</tr>

<!-- reports_eof //-->

 

 

 

I can't find the tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS,

BOX_REPORTS_ORDERS_TOTAL)); in the reports.php(catalog/admin/includes/boxes/reports.php )

 

What's wrong? Can anyone help me?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...