|
@@ 1533-1535 (lines=3) @@
|
| 1530 |
|
// Show shipping excluding tax. |
| 1531 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1532 |
|
|
| 1533 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1534 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1535 |
|
} |
| 1536 |
|
|
| 1537 |
|
} else { |
| 1538 |
|
|
|
@@ 1542-1544 (lines=3) @@
|
| 1539 |
|
// Show shipping including tax. |
| 1540 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1541 |
|
|
| 1542 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1543 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1544 |
|
} |
| 1545 |
|
|
| 1546 |
|
} |
| 1547 |
|
|