Re: Change Layout on Product.tpl
Thanks a lot balinor . You are the man.
However I am trying to get the full description under the image and star burst .
So the format will be image starburst
fulldescription
I have created the table rows next to the image but when i am trying to take the code there including the smarty tags i am geting parsing erors.
I really apreciate your help .
Here is the code where you can see the the rows I have created .
Ideally I would like to have image starburst
price
extra field
fulldescription
P.S. I tried to make the layout of how I would like to get the page but it seems the formating is lost when the message is saved.
<tr>
<td width="58%" rowspan="4"><span class="PImgBox">{ if $active_modules.Detailed_Product_Images ne "" && $config.Detailed_Product_Images.det_image_popup eq 'Y' && $images ne '' && $js_enabled eq 'Y'}
{include file="modules/Detailed_Product_Images/popup_image.tpl" }
{else}
{include file="product_thumbnail.tpl" productid=$product.image_id image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.image_url id="product_thumbnail" type=$product.image_type}
{/if}
{* include file="thickbox/thickbox_productpage.tpl" *}
{if $active_modules.Magnifier ne "" and $config.Magnifier.magnifier_image_popup eq 'Y' and $zoomer_images ne '' and $js_enabled eq 'Y' and $printable neq 'Y'}
{include file="modules/Magnifier/popup_magnifier.tpl"}
{/if} </span></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="27%"> </td>
<td width="15%" valign="top"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
{if $product.taxed_price gt 0 and $product.list_price gt 0}
<td align="right" valign="top" width="60" id="save_percent_box"{if $product.taxed_price >= $product.list_price} style="display: none;"{/if}>
<table width="60" cellspacing="1" cellpadding="2">
<tr>
<td class="SaveMoneyLabel">
<br />
{math equation="100-(price/lprice)*100" price=$product.taxed_price lprice=$product.list_price format="%3.0f" assign=discount}
<span id="save_percent">{ $discount }</span>% </td>
</tr>
</table> </td>
{/if}
<td>{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}</td>
</tr>
</table>
|