Moved code from order_wizzard.php to orders.php