mikejolley / woocommerce-product-gift-wrap

Enable a per-product, store wide Gift wrap option - let the user choose design and make it free or paid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decimal separator setting is not respected

Spreeuw opened this issue · comments

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.