just a comment

This commit is contained in:
Mike Jolley 2012-04-16 18:20:36 +01:00
parent 7ef9fff946
commit 74d1cc0038
1 changed files with 7 additions and 1 deletions

View File

@ -254,7 +254,10 @@ class WC_Order {
endif;
return $this->taxes;
}
/** Total Getters *******************************************************/
/** Gets shipping and product tax */
function get_total_tax() {
return $this->order_tax + $this->order_shipping_tax;
@ -354,6 +357,9 @@ class WC_Order {
return $this->get_line_total( $item, $inc_tax );
}
/** End Total Getters *******************************************************/
/** Gets line subtotal - formatted for display */
function get_formatted_line_subtotal( $item ) {
$subtotal = 0;