API: thousand and decimal separators corrected
This commit is contained in:
parent
44eac248b3
commit
a16b1bbac4
|
@ -454,8 +454,8 @@ class WC_API_Server {
|
||||||
'currency' => get_woocommerce_currency(),
|
'currency' => get_woocommerce_currency(),
|
||||||
'currency_format' => get_woocommerce_currency_symbol(),
|
'currency_format' => get_woocommerce_currency_symbol(),
|
||||||
'currency_position' => get_option( 'woocommerce_currency_pos' ),
|
'currency_position' => get_option( 'woocommerce_currency_pos' ),
|
||||||
'thousand_separator' => get_option( 'woocommerce_price_decimal_sep' ),
|
'thousand_separator' => get_option( 'woocommerce_price_thousand_sep' ),
|
||||||
'decimal_separator' => get_option( 'woocommerce_price_thousand_sep' ),
|
'decimal_separator' => get_option( 'woocommerce_price_decimal_sep' ),
|
||||||
'price_num_decimals' => wc_get_price_decimals(),
|
'price_num_decimals' => wc_get_price_decimals(),
|
||||||
'tax_included' => wc_prices_include_tax(),
|
'tax_included' => wc_prices_include_tax(),
|
||||||
'weight_unit' => get_option( 'woocommerce_weight_unit' ),
|
'weight_unit' => get_option( 'woocommerce_weight_unit' ),
|
||||||
|
|
Loading…
Reference in New Issue