Results 1 to 3 of 3
  1. #1

    help question SQL for Listing all Products with Stock Numbers

    I admit to being a little poor navigating around the zen-cart database. Hence the dummies question.

    What's the SQL please for listing all of the products with the product names with the numbers of each product - ie a simple stock list.

    The 'Low Stock' report basically does this - but I want to run it from PHP-Admin so that I can get hold of the output as an excel sheet.

    If anybody can help then please put me out of my misery.

    Thanks!

  2. #2

    Default Re: SQL for Listing all Products with Stock Numbers

    Come on - somebody must know this?

    Please!!

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

    Default Re: SQL for Listing all Products with Stock Numbers

    Browse the products table ... or pull just the fields you need from it ...

    I really am not sure what it is that you are asking for here ...

    If you want just what is in the Low Stock report then use the select statement that is in there by just translating the constants to your real table names ...
    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. v139h adding attributes to all products with sql query
    By delia in forum General Questions
    Replies: 8
    Last Post: 22 Apr 2014, 07:40 PM
  2. v151 Categories side links not showing stock, all products shows all stock info
    By Jamie Nicholson in forum General Questions
    Replies: 5
    Last Post: 25 Mar 2014, 06:05 PM
  3. v139h Update all exisiting products with Sales Tax with SQL Statement?
    By toussi in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 18 Jun 2012, 06:22 PM
  4. SQL for changing all products' prices?
    By dinki in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Jun 2009, 06:31 PM
  5. listing products in stock with/out dropdown menu
    By poosk in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Feb 2007, 08:43 PM

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