Results 1 to 4 of 4

Help hacking in the 'sales report' contrib

This is a discussion on Help hacking in the 'sales report' contrib within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I was trying to hack in the sales report contribution but it just won't seem to work. There seems to ...

      
  1. #1
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default Help hacking in the 'sales report' contrib

    I was trying to hack in the sales report contribution but it just won't seem to work. There seems to be a few places of question in it, maybe someone here can enlighten me...

    1) CHANGE the following in admin/includes/boxes/reports.php

    $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><br>');
    to
    $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><br>' .
    '<a href="' . tep_href_link(FILENAME_STATS_SALES_REPORT, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_SALES_REPORT . '</a>');
    However, in OSMAX the three lines they ask me to change are commented out. I have tried changing these and commenting out all except for the sales report line. Could this be it?

    The next two steps ask me to add a define statement in admin/includes/application_top.php and admin/includes/languages/english.php. I did as they asked, but does it matter where in the files I put them? I just put them at the end of where I noticed most of the other define statements were.

    If anyone figures this out, please post what you know. This seems like a very very nice contribution.

  2. #2
    New Member
    Join Date
    Feb 2004
    Posts
    5
    Rep Power
    0


    Default

    same problem. can any one help ? email please kartooz@yahoo.com

  3. #3
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    ^^bump for a great contribution that needs to be in MAX

  4. #4
    Lurker
    Join Date
    Mar 2005
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Hacking newsletter subscribers_054 probs with admin box
    By icecold in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 02-01-2007, 09:59 AM
  2. Sales Tax identification report
    By josemanuel in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 12-26-2006, 07:47 PM
  3. Custom Sales Report for osC(MAX/ommerce)
    By imjasonn in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 09-27-2005, 08:29 AM
  4. Bug report 1147
    By razz2 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-22-2005, 02:13 PM
  5. Stock Report
    By siric in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-17-2003, 06:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •