|
@@ 1615-1617 (lines=3) @@
|
| 1612 |
|
// Show shipping excluding tax. |
| 1613 |
|
$shipping = wc_price( $this->get_shipping_total(), array('currency' => $this->get_currency()) ); |
| 1614 |
|
|
| 1615 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1616 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1617 |
|
} |
| 1618 |
|
|
| 1619 |
|
} else { |
| 1620 |
|
|
|
@@ 1624-1626 (lines=3) @@
|
| 1621 |
|
// Show shipping including tax. |
| 1622 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array('currency' => $this->get_currency()) ); |
| 1623 |
|
|
| 1624 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1625 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1626 |
|
} |
| 1627 |
|
|
| 1628 |
|
} |
| 1629 |
|
|