View Single Post
  #8  
Old 04-16-2008, 09:56 AM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Layout of Product Description

Hi Joli,

Maybe this might help. Get your skin1/customer/main/product.tpl (make sure you make a backup of it too) and locate the line that displays your text similar to below and {* comment it out *} (including each TD tag)...

<TD>{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}</TD>

And underneath that line of code there's another TD that displays your savings label, add a colspan="2" to it like so...

<td colspan="2" align="right" valign="top" width="60" id="save_percent_box"...

Then copy your description text that was commented out between the TD tags (which may look like something like below)...

{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}

Then locate the closing </TD> of <td class="PImgBox" rowspan="2"> which should be a few lines above from where we commented out the description text.

And above the closing </td> add a <br /> tag and paste below it the line we copied with the description text (so it should look something like)...

<br />
{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}

The resulting image TD with the newly added description text should look something like...
Code:
<td class="PImgBox" rowspan="2"> {if $active_modules.Detailed_Product_Images ne "" && $config.Detailed_Product_Images.det_image_popup eq 'Y' && $images ne '' && $js_enabled eq 'Y'} bla bla bla image stuff... {/if} <br /> {if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if} </td>

Tell us how you got on...
Hope this helps.
__________________
Doms
kube v4.1.9
Reply With Quote