|
@@ 1679-1681 (lines=3) @@
|
| 1676 |
|
// Show shipping excluding tax. |
| 1677 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1678 |
|
|
| 1679 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1680 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1681 |
|
} |
| 1682 |
|
|
| 1683 |
|
} else { |
| 1684 |
|
|
|
@@ 1688-1690 (lines=3) @@
|
| 1685 |
|
// Show shipping including tax. |
| 1686 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1687 |
|
|
| 1688 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1689 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1690 |
|
} |
| 1691 |
|
|
| 1692 |
|
} |
| 1693 |
|
|