Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remplacer la virgule "," des prix WooCommerce par un point "."
<?php
/**
* Séparation des décimales des prix WooCommerce : remplacer la virgule par un point
*/
function msk_wc_price_args($args) {
$args['decimal_separator'] = ',';
return $args;
}
add_filter('wc_price_args', 'msk_wc_price_args');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.