Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Can I add the Address to "Contact Us" Page

    I installed the MOD for the Customer phone number in the "Contact Us" page successfully. Is there any way to add additional fields for Address, Title, City, ST, Zip???

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Can I add the Address to "Contact Us" Page

    These normally show by default, based on what you put in the Admin > Configuration > My Store > Store Address and Phone field.

    Are you using a template that has removed them, or have you blanked them out in the Admin or when you installed originally?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Can I add the Address to "Contact Us" Page

    I know how to display "My" information.

    I need additional input fields for the "Customers" information.

    Instead of just the Customer name with the comment box, I would like additional boxes for the customer to type in their own address, city, state, zip, fax information before they submit the contact form to me.

    There is a MOD called "Add Customer Phone Number", I installed it and it added another box for the customet to enter their phone number. How about the address etc?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Can I add the Address to "Contact Us" Page

    Assuming that you're talking about the "Add Phone Number to Contact Us!" mod, then all you need do is copy the changes that were made to integrate phone numbers and adapt them for the other fields. If you wanted the pulldown type interface for state, you could copy the code form the create account module built into Zen Cart. Other than that the only wrinkle is that for logged in customers your SQL statement would need to join the address book table to customers table to get the address information for the customers default address id.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Can I add the Address to "Contact Us" Page

    Yes, I sort of thought that was the case. However, when I searched the various files to find the code to add to this mod I was confused with respect to the correct .php file I would grab the info from as it was not clear cut like the "PhoneNumber" field.

    In addition, there were a few other pages that needed to be modified in the script as well. I will have to play around with it a bit.

  6. #6
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Can I add the Address to "Contact Us" Page

    Hi Kevin,

    Were you ever able to do this?

    Thanks,
    Kelly

 

 

Similar Threads

  1. Replies: 2
    Last Post: 15 Aug 2011, 08:57 PM
  2. How can I add a Phone Number to our "Contact" page?
    By JPH Designs in forum General Questions
    Replies: 2
    Last Post: 28 Jan 2011, 06:11 AM
  3. Replies: 7
    Last Post: 29 Oct 2008, 06:43 PM
  4. Can I add an Image to the "Contact Us" an the "About Us" page's
    By PetesTown in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Nov 2007, 05:02 PM
  5. how to move "contact us", "about us" etc to the bottom of page?
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jul 2007, 07:20 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