OK - found it - I think
In classes/orders.php line 972
Code:
$html_ot .= '<td class="order-totals-text" align="right" width="100%">' . ' ' . '</td> ' . "\n" . '<td class="order-totals-num" align="right" nowrap="nowrap">' . '---------' .'</td> </tr>' . "\n" . '<tr>';
This is the first line - there is no opening 'tr', it is not part of the loop so cannot rely on the 'tr' added at the end of each loop line.
The loop is also a problem - line 975 is the loop line
Code:
$html_ot .= '<td class="order-totals-text" align="right" width="100%">' . $order_totals[$i]['title'] . '</td> ' . "\n" . '<td class="order-totals-num" align="right" nowrap="nowrap">' .($order_totals[$i]['text']) .'</td> </tr>' . "\n" . '<tr>';
This has an opening 'tr' at the end - ready for thenext line
however - on the last line this leaves the 'tr' without a closing 'tr' before the '/table'
I would change both of these 2 lines to be complete and closed 'tr' '/tr'. ie open the 'tr' at the beginning of the line and close it '/tr' at the end of the line - I'll just give it a try
AHH - -
well the 'tr' structure is now correct - but the print layout is still bad.
the email html served still will not validate - no doctype, no title, 'nobr' deprecated - however thats unlikely to be the layou problem
Bookmarks