|
@@ 1504-1506 (lines=3) @@
|
| 1501 |
|
// Show shipping excluding tax. |
| 1502 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1503 |
|
|
| 1504 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1505 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1506 |
|
} |
| 1507 |
|
|
| 1508 |
|
} else { |
| 1509 |
|
|
|
@@ 1513-1515 (lines=3) @@
|
| 1510 |
|
// Show shipping including tax. |
| 1511 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1512 |
|
|
| 1513 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1514 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1515 |
|
} |
| 1516 |
|
|
| 1517 |
|
} |
| 1518 |
|
|