I use this code that is posted on the forum
Code:
{* $Id: related_products.tpl,v 1.7 2003/11/26 10:27:05 mAKI Exp $ *}
{if $product_links ne ""}
{capture name=dialog}
<table border=0 cellspacing=5 width="100%">
{section name=cat_num loop=$product_links}
<tr class="ItemsList">
<td align=center valign=center>
{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=60}
</td>
<td colspan="4" align=top valign=top><hr size=1 noshade align=top>
<table border=0 cellspacing=5 width="100%">
<tr class="ItemsList">
<td colspan="3" align=top valign=top>
{$product_links[cat_num].product|escape}
</td>
</tr>
<tr>
<td colspan="2" valign=top>
{if $product_links[cat_num].price ne 0}
{if $product_links[cat_num].list_price gt 0 and $product_links[cat_num].price lt $product_links[cat_num].list_price}
{math equation="100-(price/lprice)*100" price=$product_links[cat_num].price lprice=$product_links[cat_num].list_price format="%d" assign=discount}
<font class=MarketPrice>{$lng.lbl_market_price}: <s>{include file="currency.tpl" value=$product_links[cat_num].list_price}</s></font>
{/if}
<font class=ProductPrice>{$lng.lbl_our_price}: {include file="currency.tpl" value=$product_links[cat_num].price}</font>
<font class=MarketPrice>{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product_links[cat_num].price}</font>
{if $product_links[cat_num].list_price gt 0 and $product_links[cat_num].price lt $product_links[cat_num].list_price}, {$lng.lbl_save} {$discount}%{/if}
{if $config.Taxes.use_vat eq "Y" and $product_links[cat_num].vat gt "0"}, {$lng.lbl_including_vat} {$product_links[cat_num].vat}%{/if}
{else}
<font class=ProductPrice>{$lng.lbl_enter_your_price}</font>
{/if}
</td>
<td colspan="3" align="right" valign=center>
{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$product_links[cat_num]}
{/if}
</td>
</tr>
</table>
</td>
</tr>
{/section}
</table>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"}
{/if}
then I notice that the "quantity" and "buy now" buttons is not perfectly align. I am trying to fix it but couldn't figure out where. Anyone see where?
Here is the link to my site
http://www.thaimediastore.com/product.php?productid=1&cat=1&page=1
Thanks