@@ 183-186 (lines=4) @@ | ||
180 | $tax_amount = apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price ); |
|
181 | ||
182 | // Add rate |
|
183 | if ( ! isset( $taxes[ $key ] ) ) |
|
184 | $taxes[ $key ] = $tax_amount; |
|
185 | else |
|
186 | $taxes[ $key ] += $tax_amount; |
|
187 | } |
|
188 | ||
189 | $pre_compound_total = array_sum( $taxes ); |
|
@@ 205-208 (lines=4) @@ | ||
202 | $tax_amount = apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price, $the_price_inc_tax, $pre_compound_total ); |
|
203 | ||
204 | // Add rate |
|
205 | if ( ! isset( $taxes[ $key ] ) ) |
|
206 | $taxes[ $key ] = $tax_amount; |
|
207 | else |
|
208 | $taxes[ $key ] += $tax_amount; |
|
209 | } |
|
210 | } |
|
211 |