Merge pull request #5791 from EmilEriksen/master
pass to get_subtotal_to_display(). Fixes #5790
This commit is contained in:
commit
58d17216c1
|
@ -1321,7 +1321,7 @@ abstract class WC_Abstract_Order {
|
|||
|
||||
$total_rows = array();
|
||||
|
||||
if ( $subtotal = $this->get_subtotal_to_display() ) {
|
||||
if ( $subtotal = $this->get_subtotal_to_display( false, $tax_display ) ) {
|
||||
$total_rows['cart_subtotal'] = array(
|
||||
'label' => __( 'Cart Subtotal:', 'woocommerce' ),
|
||||
'value' => $subtotal
|
||||
|
|
Loading…
Reference in New Issue