Results 1 to 7 of 7
  1. #1
    Join Date
    May 2006
    Posts
    105
    Plugin Contributions
    0

    Default insert extra field to _customers

    hello,
    our shop is affiliated with another company. we need to insert an extra field to the zen_customers. i called it 'customers_qid'. where in the files that i can add the insert method...so whenever someone creates an account, an extra id is set to the database...

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: insert extra field to _customers

    Depending on what you're trying to do, if you do not wish to show your additional field into the customer's front form, you can simply edit your includes/modules/create_account.php file and add your field into the insertion statements (SQL) and add your captured query on top of each.

  3. #3
    Join Date
    May 2006
    Posts
    105
    Plugin Contributions
    0

    Default Re: insert extra field to _customers

    okay, i have to try that then...

    do you know the difference in the create_account module between 1.2.x (1.2.6) and 1.3.0.1 ....since there's no /module/crearte_account.php file in 1.2.6

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: insert extra field to _customers


    do you know the difference in the create_account module between 1.2.x (1.2.6) and 1.3.0.1 ....since there's no /module/crearte_account.php file in 1.2.6
    All the answers you're looking for, on this, can be found within the latest version of Zen Cart from the download package of v1.3.1 under the docs folder. I'd suggest upgrading to that version in order to keep your store up-to-date.

  5. #5
    Join Date
    May 2006
    Posts
    105
    Plugin Contributions
    0

    Default Re: insert extra field to _customers

    Quote Originally Posted by TheOracle
    All the answers you're looking for, on this, can be found within the latest version of Zen Cart from the download package of v1.3.1 under the docs folder. I'd suggest upgrading to that version in order to keep your store up-to-date.

    there's a 1.3.1 version now !! or u meant 1.3.0.1

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: insert extra field to _customers

    Great, my first version error.

    Thanks for the update. It's v1.3.0.1.

  7. #7
    Join Date
    May 2006
    Posts
    105
    Plugin Contributions
    0

    Default Re: insert extra field to _customers

    haha, no problem...
    im still trying to find my way in this create_account.php

 

 

Similar Threads

  1. how can I insert extra product info into extra db table?
    By lndlyb4 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 1 Feb 2010, 07:18 PM
  2. adding an extra insert
    By kireol in forum General Questions
    Replies: 1
    Last Post: 17 Nov 2008, 01:02 AM
  3. how to insert a extra navigation menu ( image ) in zencart template
    By lastpirate007 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jul 2007, 02:53 PM
  4. How To Insert Name and Email Field
    By brooke_1970 in forum General Questions
    Replies: 2
    Last Post: 18 Feb 2007, 06:09 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