fix setting rate percent in checkout

This commit is contained in:
Ewout Fernhout 2019-07-11 15:56:02 +02:00
parent 6fe857f718
commit 40a1f268f1
1 changed files with 1 additions and 0 deletions

View File

@ -557,6 +557,7 @@ class WC_Checkout {
'rate_code' => WC_Tax::get_rate_code( $tax_rate_id ), 'rate_code' => WC_Tax::get_rate_code( $tax_rate_id ),
'label' => WC_Tax::get_rate_label( $tax_rate_id ), 'label' => WC_Tax::get_rate_label( $tax_rate_id ),
'compound' => WC_Tax::is_compound( $tax_rate_id ), 'compound' => WC_Tax::is_compound( $tax_rate_id ),
'rate_percent' => WC_Tax::get_rate_percent_value( $tax_rate_id ),
) )
); );