View Single Post
  #1  
Old 07-31-2008, 10:44 AM
 
Meredith Martin Davis Meredith Martin Davis is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 70
 

Default Product Page Design Layout

Hi,
Wondering if anyone could help me out - I don't know much beyond HTML, so I'm struggling with how to get this to work:

I'd like the "buy now" button to be on the same line as the Product Title. Can't seem to find the right code to change this. Does anyone have any suggestions?






This is the code I'm using (from customer/main/products.tpl)

Quote:

<td class="prod_desc">
<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}"><font class="ProductTitle">{$products[product].product}</font></a>
{if $products[product].product_type eq "C"}
{include file="buttons/details.tpl" href="product.php?productid=`$products[product].productid`&amp;cat=`$cat`&amp;page=`$navigation_p age`"}
{else}
<div id="buy"><a href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}"><img src="{$ImagesDir}/buy_now.gif" width="64" height="20" alt="Buy Now"></a></div>

{if $config.Appearance.display_productcode_in_list eq "Y" and $products[product].productcode ne ""}
<br />
{$lng.lbl_sku}: {$products[product].productcode}
{/if}
<br />
<br />
{$products[product].descr|truncate:300:"...":true}
<br />


Thanks very much!
__________________
4.1.8
Reply With Quote