Zen Cart Logo
Forums / General Questions / insert extra field to _customers

insert extra field to _customers

Locked

Views: 1,198

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Jun 2006, 4:12 PM
#1
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

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...

19 Jun 2006, 4:29 PM
#2
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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.

19 Jun 2006, 4:37 PM
#3
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

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

19 Jun 2006, 4:41 PM
#4
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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. :wink2:

19 Jun 2006, 4:55 PM
#5
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: insert extra field to _customers

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. :wink2:

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

19 Jun 2006, 5:17 PM
#6
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: insert extra field to _customers

Great, my first version error. :sleepy:

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

19 Jun 2006, 5:20 PM
#7
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: insert extra field to _customers

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