Forums / Templates, Stylesheets, Page Layout / Is there a way to add extra field for registration details?

Is there a way to add extra field for registration details?

Locked

Views: 2,357

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Feb 2007, 9:32 PM
#1
sunburst avatar

sunburst

New Zenner

Join Date:
Feb 2007
Posts:
1
Plugin Contributions:
0

Is there a way to add extra field for registration details?

I've just installed Zen Cart 1.3.7 and have being playing around with it. So far it looks like it has everything i require. But one thing i could not find it the ability to customise the customer registration details or to add extra fields for customers.

Is this possible?

thank you,

15 Feb 2007, 10:30 AM
#2
gregoryjameswood avatar

gregoryjameswood

New Zenner

Join Date:
Jan 2007
Posts:
30
Plugin Contributions:
0

Re: Is there a way to add extra field for registration details?

I'm also struggling with this problem, anyone got any ideas?

Thanks

15 Feb 2007, 6:52 PM
#3
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Is there a way to add extra field for registration details?

Yes it is possible. However you'll be editing the core files to do this, so make sure you log everything you do and put the log somewhere where you will see it before you update to the next version when it comes out.

Here's what you need to know.

Mysql. You need to add cells to the customer info table. You can do this with either phpadmin or whatever front end admin program you have for mysql.
Remember when you create the cell you'll need to set the type of cell, whether it's text, or numbers, etc.

Then with php, you'll need to add a field to the form and by looking at the other fields you'll should be able to figure out the code.

I'll have to look at the files to tell you which ones you need to edit, but I'm going to leave soon. I'll try to work on this more later today unless someone else comes up with a quickie.

Also, check the downloads section to see if someone has already come up with a mod for what you need.

John Patrick
A Zen Cart Advocate!

15 Feb 2007, 6:58 PM
#4
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Is there a way to add extra field for registration details?

I'm looking at the developers section of the wiki. There may be more pages to look at.

Simply adding to the customer fields may add to the database, but then you're going to want to pull that data later, or have it sent to you when you order, so there are a few other pages to edit.

Here are the sections you'll want to look at in the dev wiki.

http://www.zen-cart.com/wiki/index.php/Developers
http://www.zen-cart.com/wiki/index.php/Developers_-_Database_Schema
Possible changes to:
Customer Information
Customer Interaction

John Patrick
A Zen Cart Advocate!

16 Apr 2007, 12:25 PM
#5
troo avatar

troo

New Zenner

Join Date:
Apr 2007
Location:
barnsley, south yorkshire, uk
Posts:
24
Plugin Contributions:
0

Re: Is there a way to add extra field for registration details?

which files do i need to edit to add extra fields to the customer registration process

18 May 2007, 3:26 AM
#6
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Is there a way to add extra field for registration details?

Good question, how do we add more fields?

18 May 2007, 7:49 AM
#7
troo avatar

troo

New Zenner

Join Date:
Apr 2007
Location:
barnsley, south yorkshire, uk
Posts:
24
Plugin Contributions:
0

Re: Is there a way to add extra field for registration details?

i worked out that when you look at customers.php and see in you php editor where the actual fields are and work it out from there, make a copy of that file first to edit . But when i come to preview in the site they do not appear. Can anyone help? stuck big time.