just a comment
This commit is contained in:
parent
7ef9fff946
commit
74d1cc0038
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue