|
@@ 1479-1481 (lines=3) @@
|
| 1476 |
|
// Show shipping excluding tax. |
| 1477 |
|
$shipping = wc_price( $this->get_shipping_total(), array( 'currency' => $this->get_currency() ) ); |
| 1478 |
|
|
| 1479 |
|
if ( $this->get_shipping_tax() != 0 && $this->get_prices_include_tax() ) { |
| 1480 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1481 |
|
} |
| 1482 |
|
} else { |
| 1483 |
|
|
| 1484 |
|
// Show shipping including tax. |
|
@@ 1487-1489 (lines=3) @@
|
| 1484 |
|
// Show shipping including tax. |
| 1485 |
|
$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array( 'currency' => $this->get_currency() ) ); |
| 1486 |
|
|
| 1487 |
|
if ( $this->get_shipping_tax() != 0 && ! $this->get_prices_include_tax() ) { |
| 1488 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1489 |
|
} |
| 1490 |
|
} |
| 1491 |
|
|
| 1492 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_shipped_via', ' <small class="shipped_via">' . sprintf( __( 'via %s', 'woocommerce' ), $this->get_shipping_method() ) . '</small>', $this ); |