Created by Michael Visser 2017-06-04 View revision File functions.php Added Side-by-side diff More Ignore whitespace Hide word diff +<?php +function custom_woo_ce_wc_price_decimal_sep( $output ) { + // Change the decimal separator to be . (dot) + $output = '.'; + return $output; +} +add_filter( 'woo_ce_wc_price_decimal_sep', 'custom_woo_ce_wc_price_decimal_sep' ); + +function custom_woo_ce_wc_price_thousands_sep( $output ) { + // Change the thousand separator to be , (comma) + $output = ','; + return $output; +} +add_filter( 'woo_ce_wc_price_thousands_sep', 'custom_woo_ce_wc_price_thousands_sep' ); +?>