I resolved the previous problem. The problem was that the session was giving this result string"" which didn't match anything so I added the trim to the statement and that resolved it. <?php if (trim($Color) != '') echo "<p><strong>$group1name:</strong> $Color </p>"; ?>
Now that I got through that I'm however still having an issue with the email and storing the PromoCode and PromoAmount.
Before you added $WA_connection to $_SESSION[$WA_sessionName] = mysql_insert_id(); which allowed the details to receive the OrderID. I took that out so that I could see the Summary server behavior but it doesn't show up even without $WA_connection in the brackets.
The email gives me the following error.
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/content/01/3827501/html/webassist/email/templates/wa_receipt.php on line 34
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/01/3827501/html/webassist/email/templates/wa_receipt.php on line 36
And the PromoCode and PromoAmounts are being left blank. The amount is however showing up on the checkout form. Here are the files in question for your review. Thanks.