Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    11
    Plugin Contributions
    0

    Default Customizing Customer Form & Table

    Hi all,

    I am new to ZenCart and Php programming...

    I would like to add a few column fields into Customer module, which includes Mobile Phone, Referrer Phone, IC number, status, timestamp and DOB (change to DD/MM/YYYY instead of MM/DD/YYYY). I need some clue/experience sharing on how to start on changing (where are these files/common folder to get these files)... Correct me if my preliminary investigation is wrong...

    1) I guess I need to change
    a) create_account.php
    b) account_edit.php
    c) jscript form check (to check mobile phone/IC/DOB format)
    Anymore??

    2) Also, I am thinking on adding a new table in DB for these columns instead of changing customer table, to ease future upgrade..

    3) Admin's customer module... ... maybe i need to add in an SQL command to delete the same customer in my new table...


    Regards,
    Jo

  2. #2
    Join Date
    Oct 2006
    Location
    New Albany Ohio
    Posts
    118
    Plugin Contributions
    2

    Default Re: Customizing Customer Form & Table

    Jo, creating a related table would be in the spirit of keeping it modular. also, datetime formatting is usually handled outside of the database, ie, it's usually stored as a numerical and not a string value, for greater flexibility. you can use the admin grep tool to search for variables related to the db values you present at the user interface...

    may i ask why you want their mobile, IC contact info?

    if for mobile comm, have you considered VOIP through a comm server like jabber? or were you more interested in simply pushing alerts?

 

 

Similar Threads

  1. Update customer & orders table
    By Soul39 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 4 Oct 2010, 09:22 AM
  2. Customizing Sales Order Form
    By covergirlbeads in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Apr 2010, 03:37 AM
  3. customizing default contact form
    By malhyp in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Dec 2008, 08:04 AM
  4. fields & table for customer's address
    By Veronika7747 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 14 Jan 2008, 10:13 PM
  5. Customizing the Contact Us form
    By laplatakid in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Nov 2006, 07:03 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