Locale bug
-
Hi!
I have a problem with reports numbers, all numbers are rounded to floor. What cause it is the Brazilian locale settings. Here decimal numbers is separated by comma. So when orders are created all values are inserted with commas on {$wpdb->prefix}wcfm_marketplace_orders. It’s because I use setlocale at wp-config.php (I really want it).
I insert a
setlocale( LC_ALL, 'en_GB' );
at line 123 of wc-multivendor-marketplace/core/class-wcfmmp-commission.php to fix it.Can you update it in the future? ??
Thank you!
- The topic ‘Locale bug’ is closed to new replies.