includes tax wrapping <small> consistient across order and cart table
This commit is contained in:
parent
241c8ce13b
commit
53c7c4025f
|
@ -171,7 +171,7 @@ class WC_Order extends WC_Abstract_Order {
|
||||||
$tax_string_array[] = sprintf( '%s %s', wc_price( $tax_amount, array( 'currency' => $this->get_currency() ) ), WC()->countries->tax_or_vat() );
|
$tax_string_array[] = sprintf( '%s %s', wc_price( $tax_amount, array( 'currency' => $this->get_currency() ) ), WC()->countries->tax_or_vat() );
|
||||||
}
|
}
|
||||||
if ( ! empty( $tax_string_array ) ) {
|
if ( ! empty( $tax_string_array ) ) {
|
||||||
$tax_string = ' ' . sprintf( __( '(includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) );
|
$tax_string = '<small class="includes_tax">' . sprintf( __( '(includes %s)', 'woocommerce' ), implode( ', ', $tax_string_array ) ) . '</small>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue