![]() |
Help needed voor related products mod
Hi,
I have the following mod voor modules/relatedproducts. {if $product_links ne ""} {capture name=dialog} <center> <TABLE width="185" border="0" cellspacing="3"> {section name=cat_num loop=$product_links max=3}<TR> <TD width="100%" align="center"><a href="product.php?productid={ $product_links[cat_num].productid }"> {include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=80 product=$product_links[cat_num].productid} </a></TD> <TD width="100%"><A href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} {/if}> { $product_links[cat_num].product} </A> <FONT class="ProductPrice">Onze Prijs: {include file="currency.tpl" value=$product_links[cat_num].price}</font> </TD> </TR> <tr> <td colspan="2"> </td> </tr> {/section} </TABLE> </center> {/capture} {include file="dialog.tpl" title="Bijpassende produkten" content=$smarty.capture.dialog extra="width=100%"} {/if} That willl look like this: http://www.projectieland.nl/tmp/old.JPG BUT I WOULD LIKE IT LIKE THIS: http://www.projectieland.nl/tmp/new.JPG Can someone plesae help me by correcting the above code so that it will look like thesecond ( above picture ) ??? THX THX |
Check this tread:
3 column layout with thumbnail for Related Products http://forum.x-cart.com/viewtopic.php?t=14995 That one is already in 3 colums. Take that code and you only have to add your title and price in that code and you're done. |
Try this: I didn't test it, but it should work.
Code:
{if $product_links ne ""} |
All times are GMT -8. The time now is 06:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.