Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2017
    Location
    Poland
    Posts
    1
    Plugin Contributions
    0

    Default Add data to custom mysql table

    Hello. I need to program my own statistics for the store. The data I want to write to the database along with the order. I need information:
    In which file, the script adds an order to the database?
    How to add a record to a database?

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,849
    Plugin Contributions
    11

    Default Re: Add data to custom mysql table

    includes/classes/order.php

    is the script that adds an order to the db. specifically look at function create.

    as far as adding a record to a db, look at the ZC documentation. specifically:

    https://www.zen-cart.com/wiki/index....ers_-_Database

    good luck.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. v153 Add custom form submission data access on Admin backend
    By fahadali in forum Customization from the Admin
    Replies: 9
    Last Post: 12 Feb 2016, 02:59 AM
  2. Replies: 0
    Last Post: 28 Jan 2011, 12:44 PM
  3. 1064 Error in displaying MYSQL data after creating custom table
    By qwerpoiu338 in forum General Questions
    Replies: 2
    Last Post: 15 Jan 2008, 04:44 AM
  4. Can't access my data MySql data base
    By Roon in forum Installing on a Linux/Unix Server
    Replies: 23
    Last Post: 6 Sep 2007, 03:26 PM
  5. Add table data to cart via phpadmin
    By cshart in forum General Questions
    Replies: 2
    Last Post: 24 Sep 2006, 04:44 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