Viewing 7 replies - 1 through 7 (of 7 total)
  • I am also having this problem. Is there a known fix for it yet?

    Thank you.

    I have the same problem but only if the price are with two zero after comma.
    Example:
    32,00 –> 32
    32,99 –> 32,99

    Olso in the product administration (list) the price are without ,00.

    I have woocommerce 2.1.2 and WP 3.8.1

    My Catalog page: https://www.funtasticschool.it/shop/

    Sergio

    Thread Starter manfredschmutz

    (@manfredschmutz)

    Hi

    Try the solution described in this topic: https://www.ads-software.com/support/topic/where-are-the-decimals

    it helped me to solve the problem

    Cheers

    Manfred

    In WooCommerce 2.1.3 this will default to show the zeros after the comma again.

    We’ve made this change, but will revert it in the next fix release.

    To fix it now, use this code (it will be forward compatible with our fix):

    add_filter( 'woocommerce_price_trim_zeros', '__return_false' );

    Hello Everybody!
    Related to this topic i have an additional problem with price formatting:
    In the currency settings the seperator for decimal and thousands doesn’t work:

    My Settings:
    Seperator für thousands: .
    Seperator für decimal: ,

    But the result is i.e. 36.00 instead of 36,00

    Will this problem fixed with the next release too?

    I added “add_filter( ‘woocommerce_price_trim_zeros’, ‘__return_false’ );” to my functions.php file, but i’m still not seeing the zeros

    The only place where the price is displayed properly is at cart content(so with: “$woocommerce->cart->get_cart_total();”).

    None of the settings seem to apply to the other price. My settings are:
    Thousand seperator: .
    Decimal seperator: ,
    Number of decimals: 2

    When I fill in 5,95 as price, it returns “5.95”(so with a dot instead of comma)
    when I fill in 5 as price, it returns “5”(so without the comma and two zeros)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Decimals not working at price’ is closed to new replies.