| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help needed voor related products mod | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
4.0.16 stable and testing 4.10 rc4 - ALL THE QUESTIONS ARE FOR 4.1 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Try this: I didn't test it, but it should work.
Code:
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|