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)
-   -   Showing Thumbnail at Products info in Order detai (https://forum.x-cart.com/showthread.php?t=14252)

hironao_sato 05-29-2005 09:00 PM

Showing Thumbnail at Products info in Order detai
 
Hello , Does anyone know how to showing thumbnail in Products info.

X cart defalt, there are "Product tile", "SKU" , "Price" and "Quantity".
http://www.x-cart.com/demo/order.php?orderid=1032
(please loggin before showing)

I would like to add the product thumbnail too.
It will be good for customer and seller.

Thank you for reading.

TelaFirma 05-30-2005 04:33 AM

Insert this:

Code:

{include file="product_thumbnail.tpl" productid={$products[prod_num].productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

into your order_info.tpl file within the {section name=prod_num loop=$products} loop where you would like it to show up.

hironao_sato 05-30-2005 06:15 PM

Thank you TelaFirma, no image available showing
 
Hello TelaFirma,
Thank you for your advice.
And I put the code at order_info.tpl .
and "no image available" thumbnail is showing.

I do not know why.

My Xcart is gold and 4.0.13 version and unix.

Anyway, thank you.

TelaFirma 05-30-2005 09:20 PM

oops... lots of mistakes in that one. I forgot to change all the other variables to represent the loop you are in...

Code:

{include file="product_thumbnail.tpl" productid=$products[prod_num].productid image_x=$product[prod_num].image_x image_y=$product[prod_num].image_y product=$products[prod_num].product tmbn_url=$products[prod_num].tmbn_url}

hironao_sato 05-31-2005 09:09 AM

Thank you millions ! It works :oD
 
Wow fantastic !!! , :D
It works, showing each image.

Thank you tons again. :D

artist122 09-20-2005 12:12 AM

Image thumnails in the Order Notification E-mails
 
I have been looking for a way to insert the Image Thumnails in to the Order_data.tpl file, and no image shows up only the No Image Available thumbnail show ups.

Code:

{include file="product_thumbnail.tpl" productid={$products[prod_num].productid image_x=100=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

This is what we inserted and the image only shows up in the order processed page after the order is sent , but we can not get the images to show up in the e-mails that X-cart sends to the customer.


Any help would be nice

hironao_sato 09-20-2005 09:37 AM

Re: Image thumnails in the Order Notification E-mails
 
Quote:

Originally Posted by artist122
I have been looking for a way to insert the Image Thumnails in to the Order_data.tpl file, and no image shows up only the No Image Available thumbnail show ups.

Code:

{include file="product_thumbnail.tpl" productid={$products[prod_num].productid image_x=100=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

This is what we inserted and the image only shows up in the order processed page after the order is sent , but we can not get the images to show up in the e-mails that X-cart sends to the customer.


Any help would be nice




Hello,

How about this
http://forum.x-cart.com/viewtopic.php?t=15757

I could show thumnails in the Order Notification E-mails read this.

Thanks,

Jerrad 09-20-2005 09:51 AM

Hi hironao_sato,

Did you really manage to display product thumbnails in the order confirmation emails?
If so, could you show/explain me how you did it?
Thanks in advance!

hironao_sato 09-20-2005 12:32 PM

Quote:

Originally Posted by Jerrad
Hi hironao_sato,

Did you really manage to display product thumbnails in the order confirmation emails?
If so, could you show/explain me how you did it?
Thanks in advance!



HI again, sorry my mistake. :oops:
I tested again, there are no thmbnail image at order confirmation email.

thmbnail image is shown only website.

Sorry for no help.

I hope someone can help you.

If you are in harry, xcart support is better.

Thanks, good luck 2 u !

shan 09-20-2005 03:22 PM

they wont show because it cant find the file anymore. you would need to put the full url to the site

Jerrad 09-20-2005 03:49 PM

It's a pity that it doesn't work hironao_sato, but thanks for replying anyway.

And Shan, could you please be so kind to show me how I put a full url to the site, because I've got it working for
the send2friend en wishlist emails, but I simply can't get it working for the order confirmation emails...

Thanks in advance!

shan 09-20-2005 03:53 PM

actually try this instead

Code:

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

Jerrad 09-20-2005 04:10 PM

Thanks for replying, Shan!
But that's something I've already tried and doesn't work for the confirmation email. But I use this exact line for the wishlist and send2friend emails and that works great...
Using this code in a confirmation email results in a email with a empty square with a little red cross where the image should appear. But strange enough it does show the alt text of the image...

I've took a look in the source could of the email and found this:
Code:

<TR>
<TD align="center" width="30">
[img]cid:image.php[/img]</TD>
<TD width="380" align="left"><FONT style="FONT-SIZE: 11px">Ulivi (artikelnr.:SKU16141)</FONT>
<TABLE>


Any idea what goes wrong?


All times are GMT -8. The time now is 07:08 PM.

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