|
@@ 1662-1664 (lines=3) @@
|
| 1659 |
|
// Show shipping excluding tax. |
| 1660 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1661 |
|
|
| 1662 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1663 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1664 |
|
} |
| 1665 |
|
|
| 1666 |
|
} else { |
| 1667 |
|
|
|
@@ 1671-1673 (lines=3) @@
|
| 1668 |
|
// Show shipping including tax. |
| 1669 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1670 |
|
|
| 1671 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1672 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1673 |
|
} |
| 1674 |
|
|
| 1675 |
|
} |
| 1676 |
|
|