Categories
WooCommerce

WooCommerce – Hide trailing zeros on prices

<?php
add_filter( 'woocommerce_price_trim_zeros', '__return_true' );

Leave a Reply

Your email address will not be published. Required fields are marked *