View Single Post
  #1  
Old 02-13-2005, 01:29 PM
 
walteis walteis is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: USA
Posts: 65
 

Default Adding images to wishlist html emails

I've trying to add images to the wishlist email, and I'm getting a strange error - the image of the first item is always the "No Image found" image. All the other product's images will display normally.

Here's the template:

Code:
{* $Id: wishlist_sendall2friend.tpl,v 1.3.2.1 2004/10/21 07:51:07 max Exp $ *} {config_load file="$skin_config"} <FONT size="2"> {$lng.eml_mail_header_part1} {$config.Company.company_name} {$lng.eml_mail_header_part2_wishlist} </FONT> {$lng.lbl_hello} {section name=num loop=$wl_products} {if $smarty.section.num.first} {$userinfo.firstname} {$userinfo.lastname} {if $smarty.section.num.total eq 1} {$lng.eml_has_recommended}: {else} {$lng.lbl_gift_registry_msg}: {/if} {/if} <HR noshade size="1"> <FONT color="#AA0000">{$wl_products[num].product}</FONT> <TABLE border="0" cellpadding="0" cellspacing="0"><TR><TD> {$wl_products[num].fulldescr|truncate:250:"..."}</TD></TR></TABLE> {include file="product_thumbnail.tpl" productid=$wl_products[num].productid image_x=$wl_products[num].image_x image_y=$wl_products[num].image_y product=$wl_products[num].product full_url="Y" id="product_thumbnail"} {$lng.lbl_price}: <FONT color="#00AA00">{include file="currency.tpl" value=$wl_products[num].taxed_price|default:$wl_products[num].price}</FONT> {/section} <HR noshade size="1"> {$lng.eml_please_click_link}: {$catalogs.customer}/cart.php?mode=friend_wl&wlid={$wlid} {include file="mail/html/signature.tpl"}

This is in 4.0.7

TIA,
Walt
__________________
X-cart Gold 4.1.7 on Linux/Apache.
Reply With Quote