• Resolved dashastone

    (@dashastone)


    Hi, for German financial system, we need the CSV export prices generated in Woocommerce Analytics (revenue and others) with decimal separator being a comma instead of a point, i.e. 10,00 instead of 10.00 – how can this be achieved? Also, if we have comma-separated decimals, we would need a semicolon-separated CSV instead of comma-separated?

    I found this snipped, but I doubt it only affects CSV export:

    function my_change_separator( $price ) {
    return str_replace( ‘.’, ‘,’, $price );
    }

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Woocommerce Analytics CSV export decimal separator’ is closed to new replies.