I am using Q.C 1.4 and add some fied to the order form. I updated the order.php in the core. The value dose not pass to the /db/orders_ext.php however the number of fields $$$ are fine.
Is there any other file I have to modefiy to pass the value to the db?
rvakili - core/orders-ff.php - this file save data to file
rvakili
2007-04-03 19:01
THANKS TREEWOOD
The only thing I can see was adding more field and changing the < to <= in the first line. Still no value pass. I also increased function dbSaveOrderProduct( $aData ) Still no value pass. I hope you can guid me if I am missing someting.
rvakili - sorry but i dont understand this code. If You want add fields to db/orders_ext.php then You must edit core/orders.php and add this fields names to: saveOrder() (to dbAddOrderExtensions() in saveOrder() function), and display from throwOrder().
If You cant do it then contact us and we will make it for You. You written before about dbSaveOrderProduct() but this function save data to db/orders_products.php.
rvakili
2007-04-04 18:17
Hi Treeeood,
I did add the fields to core/orders.php. The fields show up fine. The value dose not pass to the admin. When I look at db/orders_ext the fields are ok but the valuse is empty.
Thanks
rvakili
2007-04-05 01:36
Treewood. Thanks for your help. I find the problem. I add Tax & Discount plug in and I had to edit tax.php.