Zen Cart Logo
Forums / General Questions / Adding a field to orders....

Adding a field to orders....

Locked

Views: 853

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
30 Nov 2007, 7:37 PM
#1
jkelly avatar

jkelly

New Zenner

Join Date:
Nov 2007
Posts:
1
Plugin Contributions:
0

Adding a field to orders....

Hello - Relativley new here to Zen Cart - but here is what I need some help with.

I've added a column to the customers table called memberid. I need to have this id to reference a rewards program number, so it is different than the customersid (primary key). When an order is submitted, I need to have the memberid inserted into the orders table, in the same way the customerid is. I've added the column to the orders table, I just don't seem to be doing the right thing to get it to pull from the customers table, then insert into the orders table.

I've adjusted the includes/classes/order.php file - but obviously am missing something!
ANY help would be GREATLY appreciated!!:smile: