Order Confirmation Message

Hi all,

How would I add a simple “Thank you for your order! Below are your order details…” message, on the dispatch=orders.details page.



The problem is that page also shows orders when a customer logs in later to check the status, so I just want the confirmation message to show up immediately after placing the order.



Thanks!

Any ideas?

Add a “post” controller for the ‘checkout’ controller for the ‘summary’ mode.



Add a php file of addons/my_changes/controllers/customer/checkout.post.php



Have content of:


if( !defined('AREA') ) die('No Access');

if( $mode == 'summary' && $_SERVER['REQUEST_METHOD'] == 'POST' )
fn_set_notification('C', 'Notice', "Thank you for your order! Below are your order details..", TRUE);
}
return array(CONTROLLER_STATUS_OK);

I followed your suggestion but I can’t get it to work. I have the my changes addon installed and active, tried your code bare, then with php tags and brackets, to no avail.



Is there something I’m missing?



Thanks!

Append the actual file you created and/or include it in code tags here.



The code was intended to be an example, not an actual implementation.



Also please identify the full path name in your store where the file was installed.