includes/legacy/class-wc-legacy-cart.php 2 locations
|
@@ 457-459 (lines=3) @@
|
| 454 |
|
|
| 455 |
|
$return = wc_price( $this->shipping_total ); |
| 456 |
|
|
| 457 |
|
if ( $this->shipping_tax_total > 0 && wc_prices_include_tax() ) { |
| 458 |
|
$return .= ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>'; |
| 459 |
|
} |
| 460 |
|
|
| 461 |
|
return $return; |
| 462 |
|
|
|
@@ 467-469 (lines=3) @@
|
| 464 |
|
|
| 465 |
|
$return = wc_price( $this->shipping_total + $this->shipping_tax_total ); |
| 466 |
|
|
| 467 |
|
if ( $this->shipping_tax_total > 0 && ! wc_prices_include_tax() ) { |
| 468 |
|
$return .= ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>'; |
| 469 |
|
} |
| 470 |
|
|
| 471 |
|
return $return; |
| 472 |
|
|
includes/wc-cart-functions.php 1 location
|
@@ 424-426 (lines=3) @@
|
| 421 |
|
} |
| 422 |
|
} else { |
| 423 |
|
$label .= ': ' . wc_price( $method->cost + $method->get_shipping_tax() ); |
| 424 |
|
if ( $method->get_shipping_tax() > 0 && ! wc_prices_include_tax() ) { |
| 425 |
|
$label .= ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>'; |
| 426 |
|
} |
| 427 |
|
} |
| 428 |
|
} |
| 429 |
|
|