close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

product image not showing in confirmation email

Thread began 4/20/2009 2:32 pm by Larsort2375074 | Last modified 4/20/2009 3:32 pm by Larsort2375074 | 2084 views | 2 replies |

Larsort2375074

product image not showing in confirmation email

I am getting the confirmation email delivered ok after an order is submitted from my shopping cart, but the product image does not show in the email. The code only shows <img src=\"\" ... after running the checkout wizard. It is not retrieveing the thumbnail image from the ecart object.

Here is a sample of the code from the WAUE_confirm_1.php file.

====================================================================

while (!$LED_Landscape_Lighting->EOF()) {

$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . " <tr>\r\n";
$MailBody = $MailBody . " \r\n";
$MailBody = $MailBody . " <td style=\"padding:10px 7px 10px 7px; vertical-align:top; \"><img src=\"\" alt=\"\" width=\"110\" height=\"110\" style=\"float:left; margin-right:10px;\" />\r\n";
$MailBody = $MailBody . " <p style=\"font-weight:bold; margin:0 0 2px 0;\">";
$MailBody = $MailBody . $LED_Landscape_Lighting->DisplayInfo("Name");
$MailBody = $MailBody . "</p>\r\n";
$MailBody = $MailBody . " <p style=\"margin:0 0 2px 0;\">";
$MailBody = $MailBody . $LED_Landscape_Lighting->DisplayInfo("Description");
$MailBody = $MailBody . "</p></td>\r\n";
$MailBody = $MailBody . " \r\n";

====================================================================

I have tried many variations for coding in $LED_Landscape_Lighting->DisplayInfo("thumbnail") to the image source, but I haven't been able to get it to work, or I keep getting a syntax error. Doesn't seem to like the variable in the src= statement.
Any help would be apprieciated.

Sign in to reply to this post

Ray BorduinWebAssist

$MailBody = $MailBody . " <td style=\"padding:10px 7px 10px 7px; vertical-align:top; \"><img src=\"\" alt=\"\" width=\"110\" height=\"110\" style=\"float:left; margin-right:10px;\" />\r\n";

should probably be something like:


$MailBody = $MailBody . " <td style=\"padding:10px 7px 10px 7px; vertical-align:top; \"><img src=\"http://www.yoursite.com/imagefolder/";
$MailBody = $MailBody . $LED_Landscape_Lighting->DisplayInfo("thumbnail");
$MailBody = $MailBody . "\" alt=\"\" width=\"110\" height=\"110\" style=\"float:left; margin-right:10px;\" />\r\n";

Sign in to reply to this post
Did this help? Tips are appreciated...

Larsort2375074

Thanks Ray.... I was so close. I just didn't use the whole url path.

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

Content

rating

Layout

rating

Ease of use

rating

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...