| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding field to product table and updating from admin | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
The guy who wrote this post is not able to respond, as he is no longer part of the forum. You may be in for a long wait for a reply
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#12
|
|||||||
|
|||||||
Just thought someone might know how to do it somehow!!
__________________
X-Cart Gold 4.0.17 |
|||||||
#13
|
|||||||
|
|||||||
going down the tiolet...
Quote:
No wonder the forums have been going downhill this last year, knock too many people off the boat x-cart and their won't be anybody left to row !!! |
|||||||
#14
|
|||||||
|
|||||||
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|