|
@@ 1643-1645 (lines=3) @@
|
| 1640 |
|
// Show shipping excluding tax. |
| 1641 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1642 |
|
|
| 1643 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1644 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1645 |
|
} |
| 1646 |
|
|
| 1647 |
|
} else { |
| 1648 |
|
|
|
@@ 1652-1654 (lines=3) @@
|
| 1649 |
|
// Show shipping including tax. |
| 1650 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1651 |
|
|
| 1652 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1653 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1654 |
|
} |
| 1655 |
|
|
| 1656 |
|
} |
| 1657 |
|
|