Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding to the orders_products table


lelandmyrick

Recommended Posts

I'm trying to add a new field 'platform' to order email. In order to do so, I need to figure out which file writes to the 'orders_products' table of the db. I thought it was checkout_process.php, but I'm having a difficult time ascertaining exactly where in the file it might be writing to 'orders_products'. I also looked at 'orders.php' in the classes directory.

 

So, can someone tell me which file writes to 'orders_products' and where I might edit that file to write to an additional field?

Leland Myrick

Link to comment
Share on other sites

catalog/includes/classes/order.php is where you first need to define the fields and then in catalog/checkout_process.php is where the email is constructed.

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...