You must be logged in to see replies to this topic. Click here to login or register
Home › Forums › Plugins › CURCY – WooCommerce Multi Currency › Hiding decimals on front-end
Hi.
We need to have two decimals for both the currencies we use, because otherwise it will break our book-keeping system, BUT I would like to hide the decimals, when the price is shown on the products to the customers. There is a standard WooCommerce snippet to do it:
add_filter( ‘woocommerce_price_trim_zeros’, ‘__return_true’ );
However this only does the trick for the Default currency in the WooCommerce Multi Currency Premium. For the other currency this will not hide the decimals, how to do it?
Best regards, Rasmus.
You must be logged in to see replies to this topic. Click here to login or register