View Single Post
  #6  
Old 04-05-2005, 10:48 AM
 
djdoubleh djdoubleh is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 7
 

Default

I am getting errors, can someone help me out please. I added this to my xcart_products table in mysql : album_title varchar(255) NOT NULL ,

I added this to "Update Product data" in "include/product_modify.php" : album_title='$album_title', immediately after: db_query("UPDATE $sql_tbl[products] SET product='$product',

Then I added this: <TR>
{if $productids ne ''}<TD width="15" class="TableSubHead"><INPUT type="checkbox" value="Y" name="fields[album_title]"></TD>{/if}
<TD class="FormButton" nowrap>{$lng.lbl_album_title}:</TD>
<TD class="ProductDetails">
<INPUT type="text" name="album_title" size="45" class="InputWidth" value="{$product.album_title}">
</TD>
</TR>
to the "main/product_details.tpl".

Finally I went to the language section in admin and added "lbl_album_title" to the "labels".

Now each time i click on "Modify Product" or "Add Product" from admin or from the Provider end, I get errors.

Please remember that I am using X-Cart PRO.

Can anyone help me out. I need to know what else i need to do or what I must have done wrong. Thanks in anticipation.

Henry (djdoubleh)
__________________
X-Cart PRO 4.0.18
Reply With Quote