Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    help question How can I add more fields like these in the registration to show in admin 'Costomers'

    Can anyone please explain how this can be done?

    How can I add more fields like these in the registration to show in admin 'Costomers'

    Is it possible to add under company name a field for their ABN.

    And a new box under that for Student
    College Name
    College address & phone number
    Student ID


    Attachment 12722
    Downunder QLD

  2. #2
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: How can I add more fields like these in the registration to show in admin 'Costom

    Sorry to bump but I really need some one to show me how this can be accomplished.
    Downunder QLD

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How can I add more fields like these in the registration to show in admin 'Costom

    1. add the fields to the database
    Gotta pick the right tables and right field types and right lengths.

    2. add those fields to the SQL queries extracting data for display on that page
    Depending how you do it, you might need to write extra queries too.

    3. Add more HTML to the page to display the fields, and the corresponding PHP to display the content in the database
    To some extent you can copy existing patterns for inspiration.

    4. Add logic to handle submissions of changes you make to that information, if you intend to allow that
    Make sure you properly sanitize any submitted changes, and of course write those changes back to the database.

    5. Then consider repeating steps 2-4 on the storefront side for both the create-account and my-account (both "info" and "edit") screens, if you intend to let customers supply and view this info
    This involves not only the modules files but also the template files
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Add more info to Registration or Order Page (more fields)
    By imfsub12 in forum General Questions
    Replies: 1
    Last Post: 16 Jul 2013, 01:52 PM
  2. how to add mandatory Pictures and Fields to the customer registration form?
    By chava1106 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jun 2012, 10:16 PM
  3. v150 How do I add more fields to registration and checkout screens?
    By z3n-beta in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Apr 2012, 07:16 PM
  4. How do I add new form fields on the registration page?
    By RawKarat in forum General Questions
    Replies: 1
    Last Post: 13 Dec 2009, 10:49 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