Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Location
    Vancouver, BC
    Posts
    71
    Plugin Contributions
    0

    Default Create Account - modify existing fields or add extra fields?

    Hi there,

    I've modified the fields on login page, changing the 'company' field in create account to ask for the customers 'occupation' instead. This seemed to be a good alternative to attempting to add a new field for this entry.

    However, I have only changed the name of the field so the term company is still scattered thoughout the code (things like ACCOUNT_COMPANY == 'true' and ENTRY_COMPANY). No problem for the login fields and the admin area but it is used in other areas, like the customers address. So, their address might read:

    Butcher, Baker, Candlestick Maker
    First and Last Name
    Address
    City, Postal Code
    State, Country

    I've found code like this:

    Code:
    <address><?php echo zen_address_format($addresses['format_id'], $addresses['address'], true, ' ', '<br />'); ?></address>
    but I can't figure out where the info is called up from and where I could go in to change it so it doesn't display the occupation (company) in any page where the customer would view their address.

    Can anyone point me in the right direction? Or is this work around pointless and there is actually an easy way to add extra fields to the login so I could create a real 'occupation' field and put 'company' back as it was?

    Thanks for any advice!

  2. #2
    Join Date
    Jan 2006
    Location
    Vancouver, BC
    Posts
    71
    Plugin Contributions
    0

    Default Re: Create Account - modify existing fields or add extra fields?

    Ok, I think I found the answer here:
    http://www.zen-cart.com/forum/showthread.php?t=29763
    Very detailed instructions on how to add fields. I'll give it a shot!

  3. #3
    Join Date
    May 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Create Account - modify existing fields or add extra fields?

    Does anyone have updated information on how to add fields? The link above doesn't work anymore. Thanks!

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Create Account - modify existing fields or add extra fields?

    This add-on will do just what you want to achieve. It is comprehensive and I am not sure if it is compatible with 1.3.9d. Check this thread for compatibility.

  5. #5
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Create Account - modify existing fields or add extra fields?

    The mod above is very confusing, i'm not entirely sure it works.

    I just recently released a brand new add-on that easily adds a new field. check it out!

    http://www.zen-cart.com/index.php?ma...oducts_id=1694

 

 

Similar Threads

  1. Extra Fields for Customer Sign Up (Create Account) Page
    By jackie.taferner in forum All Other Contributions/Addons
    Replies: 176
    Last Post: 8 Jun 2023, 11:36 AM
  2. Replies: 1
    Last Post: 10 Sep 2013, 10:09 PM
  3. page create account fields
    By richard12345 in forum Basic Configuration
    Replies: 3
    Last Post: 29 Apr 2008, 03:30 PM
  4. Create account fields - centered?
    By pensive612 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Nov 2006, 10:27 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