Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default which file inserts customer info in DB?

    I'd like to make some alterations to how the customer information is inserted into the database upon sign up - can anyone let me know where the file is that does this ?? - I've not been able to find it using the developers tool kit for some reason.

    _thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: which file inserts customer info in DB?

    I'd like to make some alterations to how the customer information is inserted into the database upon sign up
    Messing with the DB can cause trouble
    What exactly is it you wish to alter?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: which file inserts customer info in DB?

    Quote Originally Posted by kobra View Post
    Messing with the DB can cause trouble
    What exactly is it you wish to alter?
    Thanks Kobra - I have already created another table in the DB and I am looking to separate customers - so if they select for example 'writer' - their details will be inserted into the new table ('writers') rather than the 'customers' table..

    _thanks

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: which file inserts customer info in DB?

    I have already created another table in the DB and I am looking to separate customers - so if they select for example 'writer' - their details will be inserted into the new table ('writers') rather than the 'customers' table..
    Best to run through a create account and a purchase as a writer as there is much code that pulls from the customer info table
    You will need to create a "switch case" for every occurrence to insure that a writer's info is polled from the table you created
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: which file inserts customer info in DB?

    thanks .... back to the original query I guess - which file is that in?? I still can't find it .. I was thinking this file: -

    includes/modules/create_account.php

    ..but can't find it in there >> any help on this is really appreciated.

    _thanks

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: which file inserts customer info in DB?

    back to the original query I guess - which file is that in??
    As I stated
    Quote Originally Posted by KoBra
    You will need to create a "switch case" for every occurrence to insure that a writer's info is polled from the table you created
    You can use the developers toolkit to search for instances of "customer" and you will see the many files that will require adding your writer table query to

    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: which file inserts customer info in DB?

    thanks Kobra > it was this coding which was the reason nothing was coming up with the developers tool kit for inserting into the 'customers' table :

    PHP Code:
    zen_db_perform(TABLE_CUSTOMERS$sql_data_array); 
    _thanks

 

 

Similar Threads

  1. v151 Which config file has info in it?
    By motherwestwind in forum Installing on a Linux/Unix Server
    Replies: 39
    Last Post: 7 Jul 2014, 07:47 PM
  2. authorize.net refunds submitted with no info on which customer it applies to
    By edadk in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 26 Jul 2010, 07:41 PM
  3. Which file inserts to the database?
    By robertybob in forum General Questions
    Replies: 2
    Last Post: 30 Jun 2010, 10:08 AM
  4. Which file to edit site footer copyright text info ?
    By hara in forum General Questions
    Replies: 1
    Last Post: 9 Nov 2009, 05:48 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