View Single Post
  #5  
Old 08-06-2008, 06:10 AM
 
konadnailart konadnailart is offline
 

Member
  
Join Date: Mar 2005
Posts: 27
 

Default Re: Tela Firma X-Cart Multicolum Recommends 4.1

i took out the tela forma mod and did another mod mention in this forum can't remember where. i got the same problem then i did some trial and error modification and it works, same here did not know where i made the modification. below is my related and recommend tpl for your reference.


{* $Id: related_products.tpl,v 1.15.2.1 2007/05/02 06:05:39 max Exp $ *}
{if $product_links ne ""}
{capture name=related_products}
{assign var="tmp" value="0"}
{section name=cat_num loop=$product_links}
{if $product_links[num].productid}{assign var="tmp" value="1"}{/if}
{/section}
{section name=num loop=$product_links}
{if %num.first%}
<table border=0 width="100%">
<tr>
{/if}
{if $smarty.section.num.index is div by 3}
</tr><tr valign="top">
{/if}
<td width=25% align=center valign=top class="PListCell";>
<a href="product.php?productid={$product_links[num].productid}" class="ItemsList">{$product_links[num].product}</a>
<br />
<a href="product.php?productid={$product_links[num].productid}">{include file="product_thumbnail.tpl" productid=$product_links[num].productid image_x=$config.Appearance.thumbnail_width product=$product_links[num].product type="T"}</a>
<br />
<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$product_links[num].taxed_price}</font>
</td>
{if %num.last%}
</tr></table>
{/if}
{/section}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.related_products extra='width="100%"'}
{else}
{capture name=dialog}
No related products with this product.
{/capture}
{/if}

{* $Id: recommends.tpl,v 1.9 2006/03/21 07:17:18 svowl Exp $ *}
{if $recommends}
{capture name=recommends}
{assign var="tmp" value="0"}
{section name=num loop=$recommends}
{if $recommends[num].productid}{assign var="tmp" value="1"}{/if}
{/section}
{section name=num loop=$recommends}
{if %num.first%}
<table border=0 width="100%">
<tr>
{/if}
{if $smarty.section.num.index is div by 3}
</tr><tr valign="top">
{/if}
<td width=33% align=center valign=top class="PListCell";>
<a href="product.php?productid={$recommends[num].productid}" class="ItemsList">{$recommends[num].product}</a>
<br />
<a href="product.php?productid={$recommends[num].productid}">{include file="product_thumbnail.tpl" productid=$recommends[num].productid image_x=$config.Appearance.thumbnail_width product=$recommends[num].product type="T"}</a>
<br />
<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$recommends[num].taxed_price}</font>
</td>
{if %num.last%}
</tr></table>
{/if}
{/section}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_recommends content=$smarty.capture.recommends extra='width="100%"'}
{else}
{capture name=dialog}
No recommends with this product.
{/capture}
{/if}
__________________
Xcart 4.1.9, AOM, One Page Checkout, Buy Together, Smart Search, On Sale, XC SEO Pro, Preordered/Backordered, Reward Points (Unresolve Issue), Marketing Manager Pro V3, RubyMod Currency, GeoIP.
Reply With Quote