Last active
August 29, 2015 13:56
-
-
Save claudiosanches/8983212 to your computer and use it in GitHub Desktop.
WooCommerce - Stop to trim zeros!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'woocommerce_price_trim_zeros', '__return_false' ); |
Works :)
Just what I need! Obrigado novamente, mestre!
Just for the record, from v2.1.3 default status is flipped. Enable it with:
add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
Weird thing is that it doesn't work for me. Not one way nor the other. I have WC 2.1.6.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, thanks a lot! It works nice..