morrow95 Posted January 3, 2006 Share Posted January 3, 2006 Well its piece of cake to add new forms, but when the email is sent they don't show. Anyone know what is up... I looked in the email.php class and it appears that extras are handled but the email does not show them. Link to comment Share on other sites More sharing options...
tina_boots Posted January 3, 2006 Share Posted January 3, 2006 Well its piece of cake to add new forms, but when the email is sent they don't show. Anyone know what is up... I looked in the email.php class and it appears that extras are handled but the email does not show them. You want to check and make sure that when the form is submitted that the new fields are being read by the code that accepts that submission. I am assuming that you have created variables to place that information in, and that those variables are part of what you are using to build the body of your email. So you want to make sure that when you use those variables, they actually have some data in them. When I am developing an email type of routine, I will usually use some "echo's" so that I can see everything is there. Then I move to the next step of actually sending the email. Be well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes. Link to comment Share on other sites More sharing options...
morrow95 Posted January 3, 2006 Author Share Posted January 3, 2006 I guess I should be more clear. For example, I have added this in contact_us.php to display an order id input field which shows perfectly fine when uploaded. <tr> <td class="main" width="100">Order ID</td><td><?php echo tep_draw_input_field('orderid'); ?></td> </tr> When I send an email, however, I want it to display in the body of the email along with the comments. I looked at includes/classes/email.php, but don't see anything I need to change. Any help here? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.