diff --git a/includes/wc-formatting-functions.php b/includes/wc-formatting-functions.php index 08d5eca5b1d..64e8115ba58 100644 --- a/includes/wc-formatting-functions.php +++ b/includes/wc-formatting-functions.php @@ -320,7 +320,7 @@ function wc_price( $price, $args = array() ) { $price = apply_filters( 'raw_woocommerce_price', floatval( $price ) ); $price = apply_filters( 'formatted_woocommerce_price', number_format( $price, $num_decimals, $decimal_sep, $thousands_sep ), $price, $num_decimals, $decimal_sep, $thousands_sep ); - if ( apply_filters( 'woocommerce_price_trim_zeros', true ) && $num_decimals > 0 ) { + if ( apply_filters( 'woocommerce_price_trim_zeros', false ) && $num_decimals > 0 ) { $price = wc_trim_zeros( $price ); }