I have dug into this some more, but I'm still stuck.
In the admin orders.php (and invoice.php and packingslip.php), here is the code that's causing me trouble:
Code:
<?php
for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
echo ' <tr>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
' </tr>' . "\n";
}
?>
Before the upgrade, it wouldn't display the tax line when the customer wasn't charged tax. Now it displays it no matter what, with no title and $0.
I had a Eureka! moment when I found this in Configuration > My Store:
Sales Tax Display Status
Always show Sales Tax even when amount is $0.00?
0= Off
1= On
I turned it off, but no change! Maybe this doesn't apply to the admin?
Bookmarks