View Single Post
  #205  
Old 02-21-2008, 04:50 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Lightbox JS v2.0 implementation

Odd.... i love this setup. Downloaded it, sent up to skin1, but there is no product.tpl in skin1.

thoe only thing i have even close to the product.tpl is the product_thumbnail.tpl

Am I missing something here.... Im totaly new to this, as i just got xcart the otehr day, yet i see no product.tpl in there at all...

Any ideas///

PS....if i ever can find that product.tpl in the skin1 , is there anyway i could get the entire code from someone..... im so afraid of this tpl stuff and to bork things up.....quite the learning curve this is from my otehr store and cart..yikes

PSS - ok i found it in main..yet it looks different than the ones above..what do i do?

{* $Id: product.tpl,v 1.46.2.2 2007/06/04 11:13:13 max Exp $ *}
{capture name=dialog}
<table width="100%">
<tr>
<td valign="top" align="left" width="30%">
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product}
<p />
{if $smarty.get.mode ne "printable"}
<a href="product.php?productid={$product.productid}&a mp;mode=printable" target="_blank"><img src="{$ImagesDir}/print.gif" width="23" height="22" name="print" alt="{$lng.lbl_printable_version|escape}" /></a>
{/if}
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>{$lng.lbl_sku}</td>
<td>{$product.productcode}</td>
</tr>
{if $product.category_text}
<tr>
<td>{$lng.lbl_category}</td>
<td>{$product.category_text}</td>
</tr>
{/if}
{if $usertype eq "A"}
<tr>
<td>{$lng.lbl_vendor}</td>
<td>{$product.provider}</td>
</tr>
{/if}
<tr>
<td>{$lng.lbl_availability}</td>
<td>{if $product.forsale eq "Y"}{$lng.lbl_avail_for_sale}{elseif $product.forsale eq "B"}{$lng.lbl_pconf_avail_for_sale_bundled}{elseif $product.forsale eq "H"}{$lng.lbl_hidden}{else}{$lng.lbl_disabled} {/if}</td>
</tr>
<tr>
<td colspan="2">
<br />
<br />
<span class="Text">{$product.descr}</span>
<br />
<br />
</td>
</tr>
<tr>
<td colspan="2"><b><font class="ProductDetailsTitle">{$lng.lbl_price_info}< /font></b></td>
</tr>
<tr>
<td class="Line" height="1" colspan="2"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="50%">{$lng.lbl_price}</td>
<td nowrap="nowrap"><font class="ProductPriceSmall">{include file="currency.tpl" value=$product.price}</font></td>
</tr>
<tr>
<td width="50%">{$lng.lbl_in_stock}</td>
<td nowrap="nowrap">{$lng.lbl_items_available|substitu te:"items":$product.avail}</td>
</tr>
<tr>
<td width="50%">{$lng.lbl_weight}</td>
<td nowrap="nowrap">{$product.weight} {$config.General.weight_symbol}</td>
</tr>
</table>
<br />

<table cellspacing="0" cellpadding="0">
<tr>
<td>{include file="buttons/modify.tpl" href="product_modify.php?productid=`$product.produ ctid`"}</td>
<td>&nbsp;&nbsp;</td>
<td>{include file="buttons/clone.tpl" href="process_product.php?mode=clone&productid=`$p roduct.productid`"}</td>
<td>&nbsp;&nbsp;</td>
<td>{include file="buttons/delete.tpl" href="process_product.php?mode=delete&productid=`$ product.productid`"}</td>
</tr>
</table>

</td>
</tr>
</table>
{/capture}
{if $smarty.get.mode eq "printable"}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=440"}
{else}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'}
{/if}
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote