View Single Post
  #2  
Old 03-19-2008, 03:17 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Layout of Product Description

Quote:
Originally Posted by ScrapProfessor
Hi guys! It's me again. LOL

I have one question that I need answered. On the Product Details page I would like the Product Description and Details to all appear just below the Product Image. What do I need to change/modify to make this happen?

Thank you for your support!

Pages product structure shown in the figure:


Click image for larger version

Name:	struct.JPG
Views:	280
Size:	37.3 KB
ID:	841

You need to change the file "skin1\customer\main\product.tpl".

Part of the code, which is responsible for the left side of the withdrawal - an image product (in the picture is left square turquoise color):

PHP Code:
<table width="100%">
<
tr>
    <
td class="PImgBox" rowspan="2">
{* 
START IMAGES *}
{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"}
{elseif 
$product.force_image_type eq 'W' && $product.variantid}
{include 
file="product_thumbnail.tpl" productid=$product.variantid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="W"}&nbsp;
{else}
{include 
file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}&nbsp;
{/if}
{if 
$active_modules.Magnifier ne "" && $config.Magnifier.magnifier_image_popup eq 'Y' && $zoomer_images ne '' && $js_enabled eq 'Y'}
{include 
file="modules/Magnifier/popup_magnifier.tpl"}
{/if}
{* /
START IMAGES *}
    </
td


Part of the code, which is responsible for the withdrawal right side (in the picture is right square turquoise color).

PHP Code:
{* /START IMAGES *}
    </
td>
    <
td valign="top" width="100%">

<
table width="100%" cellspacing="0" cellpadding="0">
<
tr>
    <
td>{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if}</td>


.......................
.......................
<
br /><br />
</
td>
</
tr></table>
</
td>
</
tr>
</
table>
<
input type="hidden" name="productid" value="{$product.productid}/>
<
input type="hidden" name="cat" value="{$smarty.get.cat|escape:"html"}/>
<
input type="hidden" name="page" value="{$smarty.get.page|escape:"html"}/>
</
form>
{/
capture}
{include 
file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'}
{/if} 
Reply With Quote