Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decimal separator setting is not respected #18

Open
Spreeuw opened this issue Dec 3, 2014 · 0 comments
Open

Decimal separator setting is not respected #18

Spreeuw opened this issue Dec 3, 2014 · 0 comments

Comments

@Spreeuw
Copy link

Spreeuw commented Dec 3, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant