I need to add some PHP logic to the order confirmation page when a customer places an order. If certain conditions are met, I want to display a custom message to the purchaser and send a notification email.
I'm assuming I will need to edit a PHP file to accomplish this, but I am unsure which file is responsible for the order confirmation page once an order has been placed.