Following template results in a small table that contains the links to upsell/related products. I placed it right under the product image. That way it gets more exposure. Remember, average user wont scroll more then 90 lines
Code:
{* $Id: related_products.tpl,v 1.7 05/06/2003 10:27:05 acidleak Exp $ *}
{if $product_links ne ""}
<table border=0 width="170" cellspacing=0 cellpadding=1>
<tr><td class=DialogBorder><font class=UpsellTitle>This works well with</font></td>
<tr><td class=DialogBorder>
<TABLE border=0 cellPadding=3 cellSpacing=0 width="100%">
<tr class="ItemsList">
<td class="DialogBox">
{section name=cat_num loop=$product_links}
<a href="product.php?productid={ $product_links[cat_num].productid }" target=_blank>
<font class=UpsellLinkText>•{$product_links[cat_num].product}</font>
</a>
{/section}
</td>
</tr>
</table>
</td></tr>
</table>
{/if}
Use it as follows:
Code:
<center>
{if $active_modules.Upselling_Products ne ""}
{include file="modules/Upselling_Products/related_products_small.tpl" }
{/if}
</center>
Next post show how to display upsells inside of cart.php (have to figure it out)
-----
happy hacking,
AcidLeak