commit
6714d0088c
|
@ -2044,16 +2044,18 @@ class WC_Cart {
|
|||
$row_price = $_product->get_price_excluding_tax( $quantity );
|
||||
$product_subtotal = wc_price( $row_price );
|
||||
|
||||
if ( $this->prices_include_tax && $this->tax_total > 0 )
|
||||
if ( $this->prices_include_tax && $this->tax_total > 0 ) {
|
||||
$product_subtotal .= ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>';
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$row_price = $_product->get_price_including_tax( $quantity );
|
||||
$product_subtotal = wc_price( $row_price );
|
||||
|
||||
if ( ! $this->prices_include_tax && $this->tax_total > 0 )
|
||||
if ( ! $this->prices_include_tax && $this->tax_total > 0 ) {
|
||||
$product_subtotal .= ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue