Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2012
    Location
    Fossil, OR
    Posts
    35
    Plugin Contributions
    0

    Default Retailers area for our site?

    Our Retailer's Info page is separate from our online store so that the general public does not order POS materials. We use an email submission form for this activity.

    Everything was working just fine on the page until we added a field for the customer's email to the form.

    The objective was that in addition to receiving the order, we would obtain their email address from the form and they would receive an order confirmation email.

    Unfortunately after adding the code to create the field in the thankyou.php and updating the EZ-pages/Retailer Info nothing works.

    I understand that since our form has:

    <input name="toEmail" type="hidden" value="[email protected]" />

    It is sending to thankyou.php a different variable which we need to assign with a POST, such as:

    $toEmail = $_POST['toEmail'];

    Then we would have to get that added to the $to variable somehow so that it will send to both email addresses. Any ideas?
    Christine
    "I believe the most important single thing, beyond discipline and creativity is daring to dare." ~Maya Angelou

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Customer Email Form

    This isn't an answer to your question, but it's something you need to seriously pay attention to ...
    By putting the email address into your form like that, you're telling bots, search engines, and malicious hackers not only your email address to spam, but also giving them a way to abuse your server to send spam to any mailbox they want to by simply hacking/altering the form html and submitting it with an outside automated/robot to send crap to anybody's email address anywhere .. and make it look like it came from you!

    All the recipient addresses should be added server-side, not browser-side. I suggest rewriting things to do that, and at the same time make the changes you've just posted about also.
    .

    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.

  3. #3
    Join Date
    Apr 2012
    Location
    Fossil, OR
    Posts
    35
    Plugin Contributions
    0

    Default Re: Customer Email Form

    Quote Originally Posted by DrByte View Post
    This isn't an answer to your question, but it's something you need to seriously pay attention to ...
    By putting the email address into your form like that, you're telling bots, search engines, and malicious hackers not only your email address to spam, but also giving them a way to abuse your server to send spam to any mailbox they want to by simply hacking/altering the form html and submitting it with an outside automated/robot to send crap to anybody's email address anywhere .. and make it look like it came from you!

    All the recipient addresses should be added server-side, not browser-side. I suggest rewriting things to do that, and at the same time make the changes you've just posted about also.
    DrByte, thank you for the head's up. This is a site I inherited and have been asked to update existing pages. I am open to suggestions. Is there an add on plugin that would resolve this issue?
    Christine
    "I believe the most important single thing, beyond discipline and creativity is daring to dare." ~Maya Angelou

  4. #4
    Join Date
    Apr 2012
    Location
    Fossil, OR
    Posts
    35
    Plugin Contributions
    0

    Default Re: Customer Email Form

    What I'd really like to do is add these items as a new category but have them list on a separate page from our online store. I believe this would resolve the issue DrByte brings up. Can this be done?
    Christine
    "I believe the most important single thing, beyond discipline and creativity is daring to dare." ~Maya Angelou

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer Email Form

    Couple options that you might consider ...

    1 Mark the products Call for Price, if you do not already use this feature of Zen Cart, and change the image and text to infer: In Store Only

    2 Use a different Product Type such as: Document Product, if you do not already use this feature of Zen Cart, and turn off the ability to Add to Cart on this Product Type ...

    Now, you have the advantage with either method where you can do the Category separation or enjoy the ability to add Products to any Category and these features will prevent the buying of the Products, which is your goal online but gives the added feature of All customers can see them, the spiders add them to search engines etc. to encourage folks to Call you or Visit you at your off line store ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Apr 2012
    Location
    Fossil, OR
    Posts
    35
    Plugin Contributions
    0

    Default Re: Customer Email Form

    Ajeh,
    Thanks for the suggestions. I'm researching these in the e-Start book. Since this may allow us to create separate Documents side-box this may overcome the objections to having these listed in the store.

    Appreciate the input. Will keep you posted on outcome.
    Christine
    "I believe the most important single thing, beyond discipline and creativity is daring to dare." ~Maya Angelou

  7. #7
    Join Date
    Apr 2012
    Location
    Fossil, OR
    Posts
    35
    Plugin Contributions
    0

    Default Re: Customer Email Form

    Quote Originally Posted by Ajeh View Post
    Couple options that you might consider ...

    1 Mark the products Call for Price, if you do not already use this feature of Zen Cart, and change the image and text to infer: In Store Only

    2 Use a different Product Type such as: Document Product, if you do not already use this feature of Zen Cart, and turn off the ability to Add to Cart on this Product Type ...

    Now, you have the advantage with either method where you can do the Category separation or enjoy the ability to add Products to any Category and these features will prevent the buying of the Products, which is your goal online but gives the added feature of All customers can see them, the spiders add them to search engines etc. to encourage folks to Call you or Visit you at your off line store ...
    Pitched this solution to the powers that be...no go. So, I am back to the original issue. Is there a way to fix the current form and (taking in DrByte's observance) make it secure? Is there another form solution? Is there a coder for hire? This is top priority/urgent for us.

    Thanks in advance for your assistance.
    Christine
    "I believe the most important single thing, beyond discipline and creativity is daring to dare." ~Maya Angelou

  8. #8
    Join Date
    Apr 2012
    Location
    Fossil, OR
    Posts
    35
    Plugin Contributions
    0

    Default Re: Customer Email Form

    Quote Originally Posted by DrByte View Post
    This isn't an answer to your question, but it's something you need to seriously pay attention to ...
    By putting the email address into your form like that, you're telling bots, search engines, and malicious hackers not only your email address to spam, but also giving them a way to abuse your server to send spam to any mailbox they want to by simply hacking/altering the form html and submitting it with an outside automated/robot to send crap to anybody's email address anywhere .. and make it look like it came from you!

    All the recipient addresses should be added server-side, not browser-side. I suggest rewriting things to do that, and at the same time make the changes you've just posted about also.
    Welp, DrByte...you did warn us that we were inviting trouble with our form located here http://www.natural-beef.com/index.ph...eea98f6eeb7715
    On Monday between 2:35 pm and 8:09 pm we received about 21 requests filled with gobblety-goop. So now, non-programmer that I am, I am looking for a remedy.
    I found this information. Is this what you mean when you suggest rewriting things?
    http://support.cmspath.com/kb/editin...-emailed-to-me

    Thank you once again for your assistance.
    Christine
    "I believe the most important single thing, beyond discipline and creativity is daring to dare." ~Maya Angelou

 

 

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