X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Thumbnails not showing in emails. (https://forum.x-cart.com/showthread.php?t=35973)

Jerrad 12-07-2007 07:51 AM

Re: Thumbnails not showing in emails.
 
I have version 4.0.12 and did the following to get thumbnails for all the email invoices and notifications:

First I made a new product_thumbnail.tpl in the same directory and called it product_thumbnail2.tpl

Code for product_thumbnail2.tpl:
Code:

{* $Id: product_thumbnail2.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *}
{if $config.Appearance.show_thumbnails eq "Y"}<IMG id="{$id}" src="http://www.systemskins.com/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" border="0">{/if}


After that I changed the order_data.tpl:
Code:

{include file="product_thumbnail2.tpl" productid=$product.productid image_x=60 product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

I hope this helps. Good luck!

Jerrad

SystemSkins 12-07-2007 08:00 AM

Re: Thumbnails not showing in emails.
 
Unfortunately it didnt work for me. I copied everything exactly, well, I changed my image_x=80 since my thumbnails are 80x80, (everything else is copy & paste). I just don't understand why. Everything makes sence, its just not showing up.

With what you told me above, I don't even get the thumbnail in the browser invoice.

Thanks for trying though.


I'm editing the order_data.tpl that is located in /skin1/mail/html should I be using the one in /skin1/mail ?


All times are GMT -8. The time now is 12:56 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.