Thread: Extra Fields??
View Single Post
  #11  
Old 05-03-2004, 06:32 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

Change this...
Code:
{* $Id: product.tpl,v 1.78.2.4 2004/02/27 13:47:00 mclap Exp $ *} {include file="check_product_options_js.tpl"} {if $product.product_type eq "C"} {include file="modules/Product_Configurator/pconf_customer_product.tpl"} {else} {capture name=dialog} <table border=0 width=100% border=1> <form name=orderform method=post action="cart.php?mode=add" OnSubmit="javascript:if (!FormValidation()) return false"> <tr> <td valign=top align=left rowspan=2 width=100> {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} {section name=product loop=$products} {$products[product].param00} {/section}</td> <td valign=top> {$product.descr}

to this...
Code:
{* $Id: product.tpl,v 1.78.2.4 2004/02/27 13:47:00 mclap Exp $ *} {include file="check_product_options_js.tpl"} {if $product.product_type eq "C"} {include file="modules/Product_Configurator/pconf_customer_product.tpl"} {else} {capture name=dialog} <table border=0 width=100% border=1> <form name=orderform method=post action="cart.php?mode=add" OnSubmit="javascript:if (!FormValidation()) return false"> <tr> <td valign=top align=left rowspan=2 width=100> {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} {$product.param00} </td> <td valign=top> {$product.descr}

Simply use {$product.param00} instead of

{section name=product loop=$products}
{$products[product].param00}
{/section}

HTH
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote