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)
-   -   Add a thumbnail to related products (https://forum.x-cart.com/showthread.php?t=16431)

Funinc 09-07-2005 07:41 AM

Add a thumbnail to related products
 
I want to add a thumbnail to the recommended products or related products instead of just a list. As I will have no more than two for each I would like to see them side by side.

Has anyone done this?

Can anyone recommend anything?

Thanks,
Timm

pauldodman 09-07-2005 07:53 AM

Basically you want to insert the standard code for displaying thumbnails into your template.

Something like this:

Code:

{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=60}

Put that next to the description, or make a table to display it how you want.

For Upselling products this would be in:
skin1/modules/Upselling_products/related_products.tpl

Funinc 09-07-2005 08:03 AM

Thanks
 
Thanks that got the thumbnail.
How would I break out the list into a table though.

Also I get some weird error when you roll over the image.

see example:
http://www.themenslab.com/lab/product.php?productid=7&cat=6&page=1

Thanks for your help

shan 09-07-2005 11:28 AM

search the custom mods forum for solutions to this


All times are GMT -8. The time now is 07:59 AM.

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