Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Posts
    1
    Plugin Contributions
    0

    Default Adding Custom Field to Customer Table

    Hello to all
    A new zencart geek is here.
    I have installed it on my development server and and works fab.

    I need to add a field to Customers table to store this customer's id (integer) from our ERP system.

    I have seen the "Additional Customers Fields" add-on but it seems complicated will probably increase server overhead . I wondered if it is not easier to edit some forms/classes to add this functionality directly. This field will only be used in zen admin and a custom data export script. It will not appear in the customer shopping interface.

    How many files need to be involved to accomplish this?
    Are there any other add-ons with similar functionality?

    Thank you for your advice in advance

  2. #2
    Join Date
    Jul 2006
    Location
    Penryn, CA. USA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Adding Custom Field to Customer Table

    Hello, if all you need is ONE field to add your info, there is already an extra field inside to the /ADMIN/CUSTOMER/<Customer File> called "Suburb" ?? I have not found anything that addresses it externally, yet, only editable from the admin side.. You could probably find the code in the database, change it, change the code call name and page location to suit, or leave it as it and accept it's odd name ?

    Personally I want to add some code to the Customer Sign Up Page to have them tell me what their County is, since California seems to Tax State, County, City, Transit Districts, etc.. I could reduce the Fat Overcharge on everyone else not living in the affected area(s), by a specific county's taxation laws.

    Good Luck.

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Adding Custom Field to Customer Table

    Here are some threads to wet your whistle.

    http://www.zen-cart.com/forum/showthread.php?t=6888
    Adding New Product_types

    http://www.zen-cart.com/forum/showthread.php?t=88895
    Adding new Field in admin for products

    http://www.zen-cart.com/forum/showthread.php?t=57924
    How-To: Add new Properties to your Products

  4. #4
    Join Date
    Jul 2006
    Location
    Penryn, CA. USA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Adding Custom Field to Customer Table

    Quote Originally Posted by Website Rob View Post
    Here are some threads to wet your whistle.

    http://www.zen-cart.com/forum/showthread.php?t=6888
    Adding New Product_types

    http://www.zen-cart.com/forum/showthread.php?t=88895
    Adding new Field in admin for products

    http://www.zen-cart.com/forum/showthread.php?t=57924
    How-To: Add new Properties to your Products
    Hello Website Rob, thank you for responding.. based on my original email to 'experimeter', above, I went in to find out why the catalog side was asking for "Address 2:" and why the Admin side showing "Suburb:".. turns out it was a coding, bug issue, correctable by me, so I acheived what I wanted and reported the bug which is at http://www.zen-cart.com/forum/showthread.php?t=109021.
    Last edited by Twbeebe; 26 Sep 2008 at 08:39 PM. Reason: lack of complete sentences..

 

 

Similar Threads

  1. v151 Adding a Custom field to the products table
    By jimmie in forum General Questions
    Replies: 4
    Last Post: 17 Sep 2013, 11:14 PM
  2. v139h error updating field in custom table
    By boxes in forum General Questions
    Replies: 2
    Last Post: 4 Oct 2012, 03:22 PM
  3. v139h Search on custom products table flag field p.products_gift=1
    By makenoiz in forum General Questions
    Replies: 2
    Last Post: 5 Aug 2012, 10:08 PM
  4. Adding custom field from specials table to product listing and product info
    By davale in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Oct 2007, 06:19 AM
  5. Adding field to categories_description table
    By 0101101011 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Aug 2007, 05:56 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