X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product Edit Template (https://forum.x-cart.com/showthread.php?t=34983)

Miket 10-28-2007 03:27 PM

Re: Product Edit Template
 
Thanks.

SRD 01-12-2008 07:55 PM

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">&nbsp;</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?


All times are GMT -8. The time now is 10:02 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.