Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11

    Default Re: Individual Products Profit and Cost Report v1.0

    sorry for the double post but i would like to post an image of what i have, and show that there are only 279 products, when i have 3119 products.... 260 of which are deactivated if that means anything....
    Attached Images Attached Images  

  2. #12

    Default Re: Individual Products Profit and Cost Report v1.0

    and i know this is a tripple post, but its in reguards to my last post..

    I noticed a bit closer at your screenshot of this release, and its showing the same info that my current setup is showing, but im wondering if you plan to add all the fields that you had in a previous screenshot of the report. Showing the sale total and sale price along with the product cost and totals..... this would be great.

    if you have a donation account setup, id be more than happy to donate to your hard and wonderfull work on the contrib.

    i hope to hear from you soon
    Wicked

  3. #13
    Join Date
    Jan 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: Individual Products Profit and Cost Report v1.0

    Hi Wicked

    did you get the 2 reportes working or not?

    i am only geting the same report showing from the 2


    simon

  4. #14

    Default Re: Individual Products Profit and Cost Report v1.0

    Quote Originally Posted by simon-m
    Hi Wicked

    did you get the 2 reportes working or not?

    i am only geting the same report showing from the 2


    simon
    same thing... same report showing for both...im still tring to find out whats wrong, and see if i can fix it..... without the author here tho. it makes it hard

  5. #15
    Join Date
    Jan 2006
    Posts
    72
    Plugin Contributions
    0

    Re: Individual Products Profit and Cost Report v1.0

    Hi

    can we say that the report that is showing is the Product Profit Report?

    and the Product Report is the one we all need?

    without the author and the nonexistence stats_Product_Report.php.

    so we need to workout what we need it to show

    poss a less than <??% to show in back and a >??% to show in red

    simon

  6. #16

    Default Re: Individual Products Profit and Cost Report v1.0

    i believe your correct... are you sure that there is suppose to be another stats_product_report.php file that we are missing? or does it do all this through the one file?

    im seeing in the stats_products_profit.php file (located in admin/) both links are going to that same file? should they be, and all functions are located in the file, or are we really missing another file?

  7. #17

    Default Re: Individual Products Profit and Cost Report v1.0

    what do you have in your stats_products_profit.php file under /admin/?

    this is what i have

    <?php
    if (isset($_GET['page']) && ($_GET['page'] > 1)) $rows = $_GET['page'] * MAX_DISPLAY_SEARCH_RESULTS_REPORTS - MAX_DISPLAY_SEARCH_RESULTS_REPORTS;
    // The new query uses real order info from the orders_products table, and is theoretically more accurate.
    // To use this newer query, remove the "1" from the following line ($products_query_raw1 becomes $products_query_raw )
    $products_query_raw1 = "select
    SUM(op.products_quantity) as products_ordered, op.products_name, p.products_margin_gross_dollar,
    p.products_price,p.products_cost, op.products_id,
    SUM(p.products_cost * op.products_quantity) AS total_cost,
    (SUM(op.products_price) - SUM(p.products_cost)) AS total_profit
    FROM ".TABLE_ORDERS_PRODUCTS." op
    LEFT JOIN " . TABLE_PRODUCTS . " p
    ON (p.products_id = op.products_id )
    GROUP BY p.products_id
    ORDER BY products_ordered DESC, products_name";
    --------------------------------------------------------
    --------------------------------------------------------
    Do you have the same thing? or did you remove more of the "o"s from that list?

  8. #18
    Join Date
    Jan 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: Individual Products Profit and Cost Report v1.0

    it would be better if it was in one .php as it would be less work for others to set up?

    but

    I was looking at the Product Stock Report in admin and this could be used as a 2nd .php with the addon the is needed, should only need to be moved and remaned BUT THE AUTHOR OF IT WOULD STILL BE GIVEN THERE CREDIT.

  9. #19
    Join Date
    Jan 2006
    Posts
    72
    Plugin Contributions
    0

    Default Re: Individual Products Profit and Cost Report v1.0

    Quote Originally Posted by wickedklown
    what do you have in your stats_products_profit.php file under /admin/?

    this is what i have

    <?php
    if (isset($_GET['page']) && ($_GET['page'] > 1)) $rows = $_GET['page'] * MAX_DISPLAY_SEARCH_RESULTS_REPORTS - MAX_DISPLAY_SEARCH_RESULTS_REPORTS;
    // The new query uses real order info from the orders_products table, and is theoretically more accurate.
    // To use this newer query, remove the "1" from the following line ($products_query_raw1 becomes $products_query_raw )
    $products_query_raw1 = "select
    SUM(op.products_quantity) as products_ordered, op.products_name, p.products_margin_gross_dollar,
    p.products_price,p.products_cost, op.products_id,
    SUM(p.products_cost * op.products_quantity) AS total_cost,
    (SUM(op.products_price) - SUM(p.products_cost)) AS total_profit
    FROM ".TABLE_ORDERS_PRODUCTS." op
    LEFT JOIN " . TABLE_PRODUCTS . " p
    ON (p.products_id = op.products_id )
    GROUP BY p.products_id
    ORDER BY products_ordered DESC, products_name";
    --------------------------------------------------------
    --------------------------------------------------------
    Do you have the same thing? or did you remove more of the "o"s from that list?

    yes i removed the "o" from the op.products_cost as the cost is in the products table and not in the order table

  10. #20
    Join Date
    Dec 2003
    Posts
    293
    Plugin Contributions
    0

    Default Re: Individual Products Profit and Cost Report v1.0

    Hi

    I have been very busy so thats why I wasnt available for support.

    As soon as I get some free time, i'll look into the problems you guys are facing

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Products Profit/Margin Calculator and Report for 1.3.5!
    By samad64 in forum All Other Contributions/Addons
    Replies: 57
    Last Post: 1 May 2019, 09:04 AM
  2. Sales report to show my cost /profit
    By westerngal in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jan 2014, 01:46 AM
  3. v139f Re: Have Cost column in data and want an add on to generate a profit report
    By osdparts in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 27 Feb 2013, 08:56 PM
  4. v150 Products Profit/Margin Calculator + Report
    By jfreeman in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Sep 2012, 11:35 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR