Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Edit Template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-28-2007, 03:27 PM
 
Miket Miket is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 106
 

Default Re: Product Edit Template

Thanks.
__________________
Mike
X-Cart version 4.1.0
PHP 4.4.2
MySQL server 4.1.19
Web server Apache
Operation system Linux
Reply With Quote
  #12  
Old 01-12-2008, 07:55 PM
 
SRD SRD is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 88
 

Default 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?
__________________
X-Cart version 4.4
PHP 5.2.5
MySQL 5.0.27
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:11 PM.

   

 
X-Cart forums © 2001-2020