Zen Cart Logo

Simple email form

Locked

Views: 1,300

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Nov 2007, 1:56 AM
#1
torrence avatar

torrence

New Zenner

Join Date:
Nov 2007
Posts:
23
Plugin Contributions:
0

Simple email form

Hi,

Anyone know of a way to place a simple form for customer to enter their email address, which then sends to my auto-responder account, from WITHIN the product page?

I have an email account set to deliver a download link to the email addresses that fill out the "form". Have the back end working (auto-responder), but can't for the life of me figure out how to get a email form to work ON the specific product page itself!
Thanks!!

28 Nov 2007, 3:46 PM
#2
torrence avatar

torrence

New Zenner

Join Date:
Nov 2007
Posts:
23
Plugin Contributions:
0

Re: Simple email form

Anyone???

I can get the form to display on the actual product page no problem (a PHP form), but the form doesn't seem to actually send the email to me. Just wondering where the PHP file itself needs to be (what folder?) in order to actually send me the email? Or is there more to this than I seem to think?

28 Nov 2007, 4:35 PM
#3
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: Simple email form

You can't embed a new form into an existing form.

The default layout of the product-info page template puts the product description into a <form> element. If you want to embed an HTML form into your product description, you'll have to rearrange your tpl_product_info_display.php template file content so that your product-description is outside the existing <form>...</form> tags.
Or maybe even just add your new form to the template instead (outside the existing form)... that way it will show on every product and you won't have to put it in the product description.