Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Additional Field in Customer Table


Gisele

Recommended Posts

I've added a field in the customer table called "Supervisor"

 

For any order that is placed, I want the supervisor name added to that order and to appear in the orders page in Admin

 

I am having some trouble getting the value to be copied from the customer table to the orders table upon checkout. I thought it would be in checkout_process.php file, but nothing is working? I can't seem to find the insert statement in the classes/order.php file either.

 

Could someone tell me exactly what page, or where in the page the order is inserted into the orders table...

 

Thanks so much.

Link to comment
Share on other sites

The insert statement is in the function tep_db_perform in includes/functions/database.php - this function is called in checkout process.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...