MainWP Community

Remove Trailing Zeros in Prices in WooCommerce

Remove trailing zeros in prices in WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
1 Like