View Single Post
  #5  
Old 10-14-2006, 07:32 AM
 
prodigious prodigious is offline
 

Newbie
  
Join Date: Oct 2006
Posts: 3
 

Default Re: adding a new skin - cannot get the price to show

Sure, here is the code from myskin/main/product.tpl:

Code:
{* $Id: product.tpl,v 1.37 2004/06/24 06:04:35 max Exp $ *} {capture name=dialog} <TABLE border="0" width="100%"> <FORM> <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}&mode=printable" target=_blank><IMG src="{$ImagesDir}/print.gif" width="23" height="22" border="0" name="print" alt="{$lng.lbl_printable_version}"></A> {/if} </TD> <TD valign="top"> <TABLE width="100%" cellpadding="0" cellspacing="0" border="0"> <TR><TD>{$lng.lbl_sku}</TD><TD>{$product.productcode}</TD></TR> <TR><TD>{$lng.lbl_category}</TD><TD>{$product.category_text}</TD></TR> {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_bundled_descr}{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" width="1" height="1" border="0"></TD></TR> <TR><TD colspan="2">&nbsp;</TD></TR> <TR><TD width="50%">{$lng.lbl_price}</TD><TD nowrap><FONT class="ProductPriceSmall">{include file="currency.tpl" value=$product.price}</FONT></TD></TR> <TR><TD width="50%">{$lng.lbl_quantity}</TD><TD nowrap>{$product.avail} {$lng.lbl_items_available}</TD></TR> <TR><TD width="50%">{$lng.lbl_weight}</TD><TD nowrap>{$product.weight} {$config.General.weight_symbol}</TD></TR> </TR></TABLE> <BR> {include file="buttons/modify.tpl" href="product_modify.php?productid=`$product.productid`"} &nbsp;&nbsp; {include file="buttons/clone.tpl" href="process_product.php?mode=clone&productid=`$product.productid`"} &nbsp;&nbsp; {include file="buttons/delete.tpl" href="process_product.php?mode=delete&productid=`$product.productid`"} </TD> </TR> <INPUT type="hidden" name="mode" value="add"> <INPUT type="hidden" name="productid" value="{$product.productid}"> </FORM> </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}


Thanks for taking a look into this!
__________________
Hoping X-Cart Skins Will Work
Reply With Quote