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

    Default 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,

  2. #2
    Join Date
    Jan 2007
    Posts
    30
    Plugin Contributions
    0

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

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

    Thanks

  3. #3
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

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

  4. #4
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default 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.p...atabase_Schema
    Possible changes to:
    Customer Information
    Customer Interaction

  5. #5
    Join Date
    Apr 2007
    Location
    barnsley, south yorkshire, uk
    Posts
    24
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

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

    Good question, how do we add more fields?

  7. #7
    Join Date
    Apr 2007
    Location
    barnsley, south yorkshire, uk
    Posts
    24
    Plugin Contributions
    0

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

 

 

Similar Threads

  1. Is there a way to add additional custom field in oder listing?
    By andy0305 in forum Managing Customers and Orders
    Replies: 4
    Last Post: 20 Mar 2013, 09:27 PM
  2. is there a way to make a add-on for planetpayment?
    By brevardcountypcr in forum Addon Payment Modules
    Replies: 6
    Last Post: 21 Dec 2011, 11:16 AM
  3. How can i add new field for the registration page?
    By niroonline in forum Managing Customers and Orders
    Replies: 2
    Last Post: 2 Jan 2010, 08:27 AM
  4. Is there a way to add form field hints for individual attributes?
    By polygone in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Dec 2009, 03:28 AM
  5. Extra registration field
    By Spinner in forum Managing Customers and Orders
    Replies: 2
    Last Post: 5 Apr 2007, 01:32 AM

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