| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change recomended list to show 3 in a row instead of vertica | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have figured out (with all the great posts in here) how to add thumbnails the way I want in the recomended list. What I want to do now is change it to display 2 or 3 in a row instead of vertical.
Below is the piece of code for the related_products.tpl (in bold is what I added to default) {* $Id: related_products.tpl,v 1.7 2002/10/22 10:27:05 olga Exp $ *} {if $product_links ne ""} {capture name=dialog} <table border=0 cellspacing=5> {section name=cat_num loop=$product_links} <tr class="ItemsList"> <td width=1%>#{$product_links[cat_num].productid}</td> <td width=99%> <a href="product.php?productid={ $product_links[cat_num].productid }" > { $product_links[cat_num].product|escape} [img]../image.php?productid={$product_links[cat_num].productid}[/img] </a> </td> </tr> {/section} </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if} If anyone could tell me what and where to change I would appreciate it. |
|||||||
#2
|
|||||||
|
|||||||
![]() The alt tag is returning array instead of product name.
How do I return the product name in an alt tag. |
|||||||
#3
|
|||||||
|
|||||||
![]() fixed lat tag with this
alt="{$product_links[cat_num].product}" |
|||||||
|
|||
X-Cart forums © 2001-2020
|