Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default How to show only active products in "Products low stock"?

    I have searched after this whithout finding any answer.

    In "Admin - Reports - Products low stock" the report shows products which are not active(red). Is there any way to only list the report for active products(green status)?

    Thanks

  2. #2
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default Re: How to show only active products in "Products low stock"

    Hmmmmmm..no one knows?

    How to see if something is sold out or nothing on stock? The stock report is no use since iit also show inactive products

  3. #3
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default Re: How to show only active products in "Products low stock"

    Hmmmmmm...still havent solved it. Anyone please?

  4. #4
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default Re: How to show only active products in "Products low stock"

    Hmm..i still havent solved this..can anyone help?

    This is the code from the file stats_products_lowstock.php


    Code:
    $products_query_raw = "select p.products_id, pd.products_name, p.products_quantity, p.products_type from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and pd.language_id='" . $_SESSION['languages_id'] . "' order by p.products_quantity, pd.products_name";
    Dont know how to change this..hmm.

  5. #5
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default Re: How to show only active products in "Products low stock"

    YES. thanks to myself i fixed it.


    Code:
      $products_query_raw = "select p.products_id, p.products_status, pd.products_name, p.products_quantity, p.products_type from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and pd.language_id='" . $_SESSION['languages_id'] . "' AND p.products_status='1' order by p.products_quantity, pd.products_name";

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to show only active products in "Products low stock"

    Thanks for the update that you got this working and for posting your solution to add the products_status to the WHERE statement ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default Re: How to show only active products in "Products low stock"

    Quote Originally Posted by Ajeh View Post
    Thanks for the update that you got this working and for posting your solution to add the products_status to the WHERE statement ...
    Thanks Ajeh.

    But i must say i am disappointed over the help here. Hmm.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to show only active products in "Products low stock"?

    Maybe looking in the bottom of your screen at the Similar Threads would of shown you the solution I posted to this same question that perhaps you missed when you searched the forum ...

    Sometimes ... we get busy and just cannot get to every question right away ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Can the "Products Low Stock" Report show only active stock?
    By mahlerosa in forum General Questions
    Replies: 0
    Last Post: 16 Jan 2012, 12:34 AM
  2. Replies: 4
    Last Post: 16 Oct 2011, 12:58 AM
  3. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  4. Replies: 2
    Last Post: 8 Jun 2008, 07:06 PM
  5. Replies: 0
    Last Post: 19 May 2007, 11:50 AM

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