|
@@ 1752-1754 (lines=3) @@
|
| 1749 |
|
// Show shipping excluding tax. |
| 1750 |
|
$shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) ); |
| 1751 |
|
|
| 1752 |
|
if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) { |
| 1753 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1754 |
|
} |
| 1755 |
|
|
| 1756 |
|
} else { |
| 1757 |
|
|
|
@@ 1761-1763 (lines=3) @@
|
| 1758 |
|
// Show shipping including tax. |
| 1759 |
|
$shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) ); |
| 1760 |
|
|
| 1761 |
|
if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) { |
| 1762 |
|
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display ); |
| 1763 |
|
} |
| 1764 |
|
|
| 1765 |
|
} |
| 1766 |
|
|