View Single Post
  #37  
Old 03-06-2008, 12:29 PM
  divinechic's Avatar 
divinechic divinechic is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 78
 

Default Re: Add a product thumbnail to tell-a-friend email & invoice

I tried this mod in 4.1.9 Gold and it didn't seem to work. Does anyone know how to get this to work for this version of x-cart?

Quote:
Originally Posted by Jerrad
I thought it would be nice if tell-a-friend email's, besides a description and link, also a thumbnail of the product showed.
Therefore I put the following code into skin1/mail/html/send2friend.tpl :

Code:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}


Which results in:
http://home.zonnet.nl/jumpers/tellafriend.jpg

I did the same with skin1/mail/html/order_data.tpl which results in:
http://home.zonnet.nl/jumpers/invoice.jpg
Now customers can see a thumbnail of the product they ordered in the invoice which shows up in checkout and orderstatus.

Only problem is the order comfirmation email. Somehow the thumbnail(s) of the ordered product(s) won't show up. It just shows the "no image available" thumbnail. Same goes for the wishlist email, btw.
http://home.zonnet.nl/jumpers/invoice_email.jpg
Furthermore, I would like to reduce the size of the thumbnails. Not for the whole shop, but only for the thumbs when they used for the above.

I hope that somebody else finds a way that the order comfirmation email also shows a thumb of the product.
Any advise how to reduce the thumbnails is also welcome.

Thanks!
__________________
X-Cart Gold version 4.1.9
Reply With Quote