Decimal separator setting is not respected
Spreeuw opened this issue · comments
Ewout Fernhout commented
see: https://wordpress.org/support/topic/wrong-decimal-separator-in-settings?replies=1
I tried to remedy this by adding 'data_type' => 'price'
to the _gift_wrap_cost
field and wc_format_decimal()
before saving the value. This works on the product level, but I couldn't find a way to do this for the general settings.