HelleM Posted November 4, 2006 Share Posted November 4, 2006 Installed the 621 version Ehen a customer log on - i only want "account_history_info.php" to be default. All i want is a PRINT button - and then the invoice turns up.... So I put in this in the top of the page: <script language="javascript"> <!-- function popupPrintReceipt(url) { window.open(url,'popupPrintReceipt','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re sizable=yes,copyhistory=no,width=750') } //--> </script> ________________ and this <a href="java script:popupPrintReceipt('<?php echo tep_href_link(FILENAME_PRINT_MY_INVOICE, tep_get_all_get_params(array('order_id')) . 'order_id=' . $HTTP_GET_VARS['order_id'], 'SSL'); ?>')"><?php echo tep_image_button('button_print_order.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?> where the image Print should be But it does not work It want's this FILENAME_PRINT_MY_INVOICE Has anybody done this - I mean, kept the original "account_history_info.php" file and added a print out order button??? Helle :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.