Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Location
    Oregon, USA
    Posts
    33
    Plugin Contributions
    0

    Files containing SQL queries

    Could someone point me to the file(s) within ZC containing the SQL queries/statements? (Not to do with the install.)

    I'm particularly interested in queries relating to adding or updating products. So INSERT, UPDATE statements relating to the products, products_description, products_attributes, products_to_categories, etc tables.

    Purpose: I need to create a super simple process to add or update products for some very non-tech users.

    Thanks!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Files containing SQL queries

    Go to the Admin ... Tools ... Developer's Tool Kit ...

    In the bottom input box type in: INSERT

    Select Catalog, Admin or Catalog/Admin ...

    Click Search ...

    Voila! Tons to choose from ...

    Now do the same with UPDATE ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2006
    Location
    Oregon, USA
    Posts
    33
    Plugin Contributions
    0

    Default Re: Files containing SQL queries

    Doh! Shoulda thought of that.
    Of course, 'tons' was a little bit what I was trying to avoid...
    Thanks!

  4. #4
    Join Date
    May 2006
    Location
    Oregon, USA
    Posts
    33
    Plugin Contributions
    0

    Default Re: Files containing SQL queries

    For curiousity's sake, to whomever would know & has time & inclination:

    I note that in the standard admin/product.php page output a couple of the input names are done as arrays (e.g., 'name="products_name[1]"').
    Just curious about the thinking behind this as opposed to doing them as simple vars.
    thx...

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,167
    Plugin Contributions
    0

    Default Re: Files containing SQL queries

    I dont see any such lines in admin/products.php
    name="products_name[1]"').
    Can you explain again what you are talking about?

  6. #6
    Join Date
    May 2006
    Location
    Oregon, USA
    Posts
    33
    Plugin Contributions
    0

    Default Re: Files containing SQL queries

    I should have been clearer. I was referring to the output as received in the client browser.

  7. #7
    Join Date
    Jan 2004
    Posts
    58,287
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Files containing SQL queries

    That's to support multiple languages
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    May 2006
    Location
    Oregon, USA
    Posts
    33
    Plugin Contributions
    0

    Default Re: Files containing SQL queries

    Ah!
    Thanks, DrB.

 

 

Similar Threads

  1. MZMT SQL error
    By iron_chick in forum Addon Shipping Modules
    Replies: 3
    Last Post: 2 Jun 2006, 05:41 PM

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
  •