Remove unused total fee tax variable
This commit is contained in:
parent
3d7c2fc297
commit
b5ad68ff2a
|
@ -1840,7 +1840,6 @@ class WC_Cart {
|
|||
$fee_taxes = $this->tax->calc_tax( $fee->amount, $tax_rates, false );
|
||||
|
||||
if ( ! empty( $fee_taxes ) ) {
|
||||
$fee->tax = array_sum( $fee_taxes );
|
||||
|
||||
// Tax rows - merge the totals we just got
|
||||
foreach ( array_keys( $this->taxes ) as $key ) {
|
||||
|
|
Loading…
Reference in New Issue