Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding an Order to the database


winstanley_john

Recommended Posts

Posted

I need to add an order to the data base imediately after the user clicks on checkout, inside the shopping basket. (I don't need any shipping information and so on)

 

I can't find the code which adds an order to the database does anyone know where this is? Is it done in stages?

 

I need to make changes to the admin section after I've done this, but I think I can find the code for that

 

Thanks guys,

Posted

The code that adds the order to the database is in checkout_process.php :shock:

 

It uses the function tep_db_perform which is called from includes/functions/database.php

Archived

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

×
×
  • Create New...