![]() |
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. |
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. |
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. |
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} |
Thank you millions ! It works :oD
Wow fantastic !!! , :D
It works, showing each image. Thank you tons again. :D |
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 |
Re: Image thumnails in the Order Notification E-mails
Quote:
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, |
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! |
Quote:
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 ! |
they wont show because it cant find the file anymore. you would need to put the full url to the site
|
All times are GMT -8. The time now is 09:41 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.