|
@@ 1589-1591 (lines=3) @@
|
| 1586 |
|
// Show shipping excluding tax. |
| 1587 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1588 |
|
|
| 1589 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1590 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1591 |
|
} |
| 1592 |
|
|
| 1593 |
|
} else { |
| 1594 |
|
|
|
@@ 1598-1600 (lines=3) @@
|
| 1595 |
|
// Show shipping including tax. |
| 1596 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1597 |
|
|
| 1598 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1599 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1600 |
|
} |
| 1601 |
|
|
| 1602 |
|
} |
| 1603 |
|
|