Jump to content

Extending Order Controller


samkirkbride

Recommended Posts

Hi,

 

I am trying to extend the functionality of the the 'Confirm Order' button on the checkout process.

 

The site I am working on has been built in a way that I need to store some more statistics about products at point of sale.

 

I believe I am supposed to be extending the 'process' function within the 'OrderConfirmationControllerCore' controller, but I am not 100% sure on this.

 

What I want the button to do is:

  1. Click 'Confirm Order'
  2. Get the order ID
  3. Do a SELECT query on the customized_data table
  4. Use the resulting data to do an INSERT query on a custom table

Thanks for any help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...