Changed functions in order total rows - renamed to make more sense

This commit is contained in:
Mike Jolley 2012-01-22 02:35:26 +00:00
parent 7639cd8390
commit ad30381ba3
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
<tr>
<td>'.$item['name'].'</td>
<td>'.$item['qty'].'</td>
<td>' . $order->get_item_subtotal($item) . '</td>
<td>' . $order->get_formatted_line_subtotal($item) . '</td>
</tr>';
endforeach;
endif;

View File

@ -53,7 +53,7 @@ $order = new woocommerce_order( $order_id );
endif;
echo '</td><td>'.$item['qty'].'</td><td>' . $order->get_item_subtotal($item) . '</td></tr>';
echo '</td><td>'.$item['qty'].'</td><td>' . $order->get_formatted_line_subtotal($item) . '</td></tr>';
endforeach;
endif;