recaetano Posted March 13, 2006 Posted March 13, 2006 It forgives for the translation saw Google! I had problems with the o to print the order, the session was destroy when opening popup and was shown the screen of login in the place of the order. I did not find no aid in this f?rum, therefore, after long hours, I bring my solution here to serve the friends who will be in desperation. Here it is the lines that must be substituted: File: catalog\templates\content\account_history_info.tpl.php To substitute the line 206: <td align="right" class="main"><?php echo '<a href="javascript:popupWindow(\'' . (HTTP_SERVER . DIR_WS_CATALOG . FILENAME_ORDERS_PRINTABLE) . '?' . (tep_get_all_get_params(array('order_id')) . 'order_id=' . $HTTP_GET_VARS['order_id']) . '\')">' . tep_template_image_button('button_printorder.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?></td> For this code: <td align="right" class="main"><?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_ORDERS_PRINTABLE . '?' . tep_get_all_get_params(array('order_id=' . $HTTP_GET_VARS['order_id'])), 'SSL') . '\')">' . tep_template_image_button('button_printorder.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?></td> :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.