Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    231
    Plugin Contributions
    0

    Default Where is the code that sends order data to the database?

    I am looking for the code (SQL query) which sends the order data to the database (items, comments, delivery info, etc.). Where would I find this?

    Thanks,
    BParker

  2. #2
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Where is the code that sends order data to the database?

    There are many parts of the code that trigger that, depending on what you're trying to do.
    Your question implies that maybe you're planning to intercept the normal code and hack in some changes to what is stored, perhaps adding extra info to be stored. And while your first instinct appears to be that you intend to just hack the core code file to do it in the order.php class file, chances are you want to make your changes easier to manage through an upgrade, and thus you should be using notifier hooks to make your changes in custom observer class files that you add to the site.

    So ... what exactly are you intending to do? What business problem are you really trying to solve?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

 

 

Similar Threads

  1. Adding additional data to the database during the order process.
    By PearceStephens in forum Managing Customers and Orders
    Replies: 4
    Last Post: 30 Sep 2014, 08:38 AM
  2. v151 Where are the code that handle the shipping estimator POST data
    By su35 in forum General Questions
    Replies: 2
    Last Post: 31 Jan 2014, 10:05 PM
  3. where to find the code that does the radio button?
    By denniszc in forum General Questions
    Replies: 9
    Last Post: 8 Apr 2013, 12:45 PM
  4. Replies: 5
    Last Post: 29 Jan 2008, 01:07 AM
  5. Database field order - where is that file?
    By kappaluppa in forum General Questions
    Replies: 2
    Last Post: 24 Jun 2007, 06:34 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR