Results 1 to 3 of 3

Contact Us New Fields

This is a discussion on Contact Us New Fields within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Need to add new fields to the contact us page including but not limited to Address, Request Catalog This question ...

      
  1. #1
    New Member
    Join Date
    Apr 2004
    Posts
    18
    Rep Power
    0


    Default Contact Us New Fields

    Need to add new fields to the contact us page including but not limited to

    Address, Request Catalog

    This question has been asked before but was not answered.

    Would it be easier to just create my own form in HTML? If so what tags do I need to keep on the page? (catalog/includes/languages/english/contact_us) I know there is another page but I am not sure of its location by memory.

    Thank you,
    Jessica McCarty

  2. #2
    New Member
    Join Date
    Apr 2004
    Posts
    18
    Rep Power
    0


    Default

    OK I have added the new fields on the "catalog/contact_us.php file".
    I have edited the "catalog/includes/languages/contact_us.php"
    and I have edited the "catalog/templates/contect/contact_us_tpl.php".

    It seems to work there are no errors, but the email that is sent is missing the new fields. I know when using cgi you have to have a text file for the email to work properly. What file does this email need to show up correctly?

    Thank you,
    Jessica McCarty

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Depending what your addring I would follow "$enquiry" in that file and add my new feilds as required. Everywhere you have an "$enquiry" or related feild you should have one for your new feild.

    For emails - i think you should look at the following code (Aprox line 23 in contact_us.php):
    Code:
        if (tep_validate_email($email_address)) {
          tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);
    Good Luck

Similar Threads

  1. Contact Us problem
    By TracyG in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 10-26-2006, 01:04 PM
  2. Contact _us
    By oneplace2u in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 07-28-2006, 07:37 AM
  3. contact up help
    By Raysworld in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-07-2004, 08:02 AM
  4. Contact Form MOD
    By drakonan in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-03-2003, 08:25 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
  •