Manufacturer Sales Report
Contribution Name: Manufacturer Sales Report
Contribution Version: 2.1
Author Name: Robert Heath
Author E-Mail Address: robert@robertheath.net
Author Website: www.robertheath.net
This contribution adds the ability to view sales reports based on manufacturer rather than customer or product. This version adds the ability to view a breakdown of products sold by manufacturer in addition to total sales by manufacturer. It also adds a printer friendly version of the report which displays the Store name, time and date the report was created, and the reporting period specified.
INSTALLATION:
Step 1: Upload the files included in this package
Step 2: Add the following line to /admin/includes/filenames.php
AFTER
define(’FILENAME_STATS_CUSTOMERS’, ’stats_customers.php’);ADD
define(’FILENAME_STATS_MANUFACTURERS’, ’stats_manufacturers_sales.php’);
Step 3: Add the following line to/admin/includes/languages/english.php
AFTER
define(’BOX_REPORTS_ORDERS_TOTAL’, ‘Customer Orders-Total’);ADD
define(’BOX_REPORTS_SALES_MANUFACTURERS’, ‘Manufacturer Sales’);
Step 4: Add the following line to /admin/includes/boxes/reports.php
AFTER
‘<a href=”‘ . tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, ”, ‘NONSSL’) . ‘” class=”menuBoxContentLink”>’ . BOX_REPORTS_PRODUCTS_PURCHASED . ‘</a><br>’ .ADD
‘<a href=”‘ . tep_href_link(FILENAME_STATS_MANUFACTURERS, ”, ‘NONSSL’) . ‘” class=”menuBoxContentLink”>’ . BOX_REPORTS_SALES_MANUFACTURERS . ‘</a><br>’ .