The checkout-success displays the order details by pulling in the order-history via the same template that displays account history order details. And both output the page heading, hence the duplication.
A fix is to display that 2nd line only when not on the checkout-success page, like this:
In your tpl_account_history_info_default.php file, you'll see this on line 20:
Code:
<h2 id="orderHistoryDetailedOrder"><?php echo HEADING_TITLE . ORDER_HEADING_DIVIDER . sprintf(HEADING_ORDER_NUMBER, $_GET['order_id']); ?></h2>
Wrap some conditional code around it to make it only display if the page is NOT checkout_success, like this:
Code:
<?php if ($current_page != FILENAME_CHECKOUT_SUCCESS) { ?>
<h2 id="orderHistoryDetailedOrder"><?php echo HEADING_TITLE . ORDER_HEADING_DIVIDER . sprintf(HEADING_ORDER_NUMBER, $_GET['order_id']); ?></h2>
<?php } ?>
Bookmarks