Re: Product Edit Template
I want to add a field to my admin's product display.
I'm editing \skin1\main\product_details.tpl
After
<tr>
{if $geid ne ''}<td width="15" class="TableSubHead"> </td>{/if}
<td class="FormButton" nowrap="nowrap">{$lng.lbl_sku}:</td>
<td class="ProductDetails"><input type="text" name="productcode" size="20" maxlength="32" value="{$product.productcode|escape}" class="InputWidth" /></td>
</tr>
I've added
<tr>
<td class="FormButton" nowrap="nowrap">BLA Code</td>
<td class="ProductDetails"><input type="text" name="productid" class="InputWidth" value="{$product.productid|escape}" /></td>
</tr>
This table row isn't displaying. It is outside {if} loops. "productid" is a field of the table "product".
Suggestions?
__________________
X-Cart version 4.4
PHP 5.2.5
MySQL 5.0.27
|