Guest Posted July 12, 2003 Share Posted July 12, 2003 Need some help guys, put the print order contribution in and can't get the order info, except the name, street, city state to appear. I have loaded 5 and some chages need to be made in the code but , hey thats not my thing , and loaded 5 is kind of a many level thing Heres the code changes modify catalog/includes/application_top.php add: around line 68 ///begin add print invoice to checkout_success//// define('FILENAME_ORDERS_INVOICE', 'invoice.php'); ///end add print invoice to checkout_success///// modify checkout_success.php change <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> to <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?><br>Your Order Number Is: <?php echo "$last_order"; ?><br><p align="center"><font face="Arial, Helvetica, sans-serif" color="#000099" size="3">Click Invoice Button Below <br>for A printable Invoice.<br> </font><font face="Arial, Helvetica, sans-serif" color="#FF0000" size="3">Those paying with <br> check or money order <br>Please Print the invoice and remit <br> payment to the address <br>in the upper left hand corner. <br></font> Thank you for Shopping with us Online! <br><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $last_order) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a>'; ?> </h3></p></td> change checkout_process.php add:around line 282 ///begin add print invoice to checkout_success//// tep_session_register('last_order'); $last_order = $insert_id; $oID = $last_order; ///end add print invoice to checkout_success//// Thats it Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2003 Share Posted July 12, 2003 DON'T BELIEVE THE LINE ADDS, CHECKOUT_PROCESS ,needs to stay in the statment Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.