radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator Another

Start a new topic

Trim zeros in price decimals

In woocommerce i trim the zeros in my price decimals using this code:

add_filter( 'woocommerce_price_trim_zeros', 'wc_hide_trailing_zeros', 10, 1 );
function wc_hide_trailing_zeros( $trim ) {
    return true;

 Does anyone know of a way to make FPD respect this and not add my zeros back in? Kind of annoying to have it not respect my code...

1 Comment

I have still not been able to prevent FPD from changing the prices on me. Anyone out there have a sec to help me out?


Login or Signup to post a comment