Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Jan 2011
    Posts
    22
    Plugin Contributions
    0

    Default How to remove pre-filled email address on Contact Us form?

    Hi,

    I'm trying to remove email address that is pre-filled by Zen Cart on Contact Us form.

    I searched the internet and this forum for hours but couldn't find the solution.

    Following is the exact page I'm talking about.
    "https://www.jostaronline.com/contact_us.html"

    I went in to "/includes/templates/template_default/templates" and tried to edit tpl_contact_us_default.php, I had no idea what to do.

    Please help Zen Cart gurus!!!



    Jostar

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: How to remove pre-filled email address on Contact Us form?

    What are you trying to accomplish by removing the prefilled email address?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How to remove pre-filled email address on Contact Us form?

    You've done something, either on your own with customizing, or by adding addons, that has changed the normal operation of the page.

    Go through and remove anything that doesn't match original code, until it fixes your problem. http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How to remove pre-filled email address on Contact Us form?

    Quote Originally Posted by DrByte View Post
    You've done something, either on your own with customizing, or by adding addons, that has changed the normal operation of the page.

    Go through and remove anything that doesn't match original code, until it fixes your problem. http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    Thanks Doc!

    One more thing then!
    Do you know a specific file or a directory I should go through and match with original Zen Cart that might have affected the contact form?

  5. #5
    Join Date
    Jan 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How to remove pre-filled email address on Contact Us form?

    Quote Originally Posted by afo View Post
    What are you trying to accomplish by removing the prefilled email address?
    I want to leave the email field black so that the visitors of my website can write their email. Some visitors just use the pre-filled email and I have no way to reply back to them since they used "my email address".

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How to remove pre-filled email address on Contact Us form?

    A default install of Zen Cart DOES NOT fill in that field using your store's email address. It will fill in the customer's email address if they're logged in to their account. If they're not logged in, that field will be blank.

    Compare everything under /includes/ and all its subfolders.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How to remove pre-filled email address on Contact Us form?

    Quote Originally Posted by DrByte View Post
    A default install of Zen Cart DOES NOT fill in that field using your store's email address. It will fill in the customer's email address if they're logged in to their account. If they're not logged in, that field will be blank.

    Compare everything under /includes/ and all its subfolders.
    Wow. That will be a hack a lot of job. But if that's the only way, I should do so. :)

    Thanks again.

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: How to remove pre-filled email address on Contact Us form?

    Have you added any additional meta headers to your html_header.php file - such as OPENGRAPH headers...

    If so, this is lilely to be your problem
    19 years a Zencart User

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How to remove pre-filled email address on Contact Us form?

    Are you sure that it isn't just your browser that's filling that field in ?

  10. #10
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: How to remove pre-filled email address on Contact Us form?

    Here's a MAJOR error:

    <meta property="og:url" content="http://www.jostaronline.com/contact_us.html?zenid=1c4cb4b3e73592bbef1d31d0cca6f967" />

    Who put this in for you?

    They should really be more careful !!!

    NEVER put the zenid into a URL !!!

    I think your <og: stuff is what is causing the problem...
    19 years a Zencart User

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 How to pre-populate hidden field in php email form?
    By frank18 in forum General Questions
    Replies: 3
    Last Post: 18 Nov 2013, 06:47 AM
  2. Email a pre-filled shopping cart link?
    By DannyVarley in forum General Questions
    Replies: 19
    Last Post: 17 Oct 2012, 04:51 PM
  3. Editing Contact Us form email address ?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Sep 2008, 11:13 PM
  4. Where to set the email address "Contact form" entry go?
    By e81ny in forum Basic Configuration
    Replies: 3
    Last Post: 11 Aug 2008, 02:53 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