Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add this code in your themes functions.php or as a separate plugin.
* Trim zeros in price decimals in WooCommerce.
* For instance $200.00 is displayed as $200.
add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
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.