View Single Post
  #14  
Old 09-22-2005, 06:41 PM
 
Lucent88 Lucent88 is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 147
 

Default

I got it to work. It was my stupid mistake. I don't really have a code to post but here is the basic ideas.

There are 2 files that you have to modify.

This should work for all v4.0.x

Before you start on it BACK UP first.

1. You have to add fields to the product table.
(You can write a queries or just add straight to the table from phpMyAdmin whichever way works for you.)

2. modify include/product_modify.php
(find the code #update product data, add your new field names to the end of the database query before where productid='$productid', basically something like xxxx='$xxxx')

3. skin1/main/product_details.tpl
(add fields to this page, just use other one as example and change out the field name to your new field name)

That's it. That should do it. It works for me. I'm totally new to php, so if there is any mistake you see, please point it out for everyone, thank you.
__________________
X-Cart Gold 4.0.17
Reply With Quote