close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


email receipt - Company Name not showing

Thread began 12/22/2011 6:36 pm by ericay278516 | Last modified 12/28/2011 1:00 pm by ericay278516 | 836 views | 2 replies |


email receipt - Company Name not showing

I've added the "company name" variable to the eCart Checkout Form session, and it is displaying on the confirm page just fine, but that new field is not posting to the email receipt. I've uploaded a copy of the receipt.php file, can you tell me where I'm going wrong? This is the final step holding up our launch... Thank you.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

if you look carefully at the confirm page, you will see that for every form element on the checkout page, there is code to store the value from the checkout page into a session variable near the top of the page, and there is a hidden form element to re send that value near the bottom of the page.

on your confirm page, look for the section of code that stores the session variables, and add this:


if (!session_id()) session_start();
$_SESSION["companyname"] = "".((isset($_POST["companyname"]))?$_POST["companyname"]:"")  ."";

then find the collection of hidden form elements and add this:

<input type="hidden" name="firstname" id="firstname" value="<?php echo ((isset($_SESSION["companyname"]))?$_SESSION["companyname"]:""?>" />
Sign in to reply to this post


got it!

It worked! I guess I had skipped a step, there. Thanks, Jason...

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...