On the admin page 'order.php', the subtotal, shipping and total are not formated according to the currency like the order lines above.
(particulary for the right/left symbol)
Suggest to use:
Code:
ZENCART-1.3.9f-08142010\admin\orders.php
Insert formatting on that line
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
Gives
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $currencies->format($order->totals[$i]['value'], false) . '</td>' . "\n" .
with adding the field 'value' in:
(the only field not recovered in the sql query)
Code:
ZENCART-1.3.9f-08142010\admin\includes\classes\order.php
$totals = $db->Execute("select title, text, class, value
from " . TABLE_ORDERS_TOTAL . "
where orders_id = '" . (int)$order_id . "'
order by sort_order");
Bookmarks