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