Support » Plugin: WooCommerce » Show prices as written in the product admin

  • Hi everyone!
    My very big problem.
    First, I use “.” for thousand and “,” for decimals.

    I have a catalog with many different prices:
    from Euro 5.320,00 to Euro 0,0253.
    I setup 4 decimals in the settings page.

    The problem is when I see the catalog or single product, it display me the entire price, nice for E 0.0253, but not for E 5.320,0000 🙁
    It’s seems a very big price.

    I searched everywhere for a solution and found a woo filter:
    add_filter( ‘woocommerce_price_trim_zeros’, ‘__return_true’ );

    It works quite well, but for price like E 0,0253 it’s ok, but E 1.350,00 it wrotes E 1.350 without comma. :'(

    Question is: Is there a way to display the price as I wrote it in the admin product not depending on how many decimals there is? ex: 1.621,00 and 0,0025

    Thax in advance

  • You must be logged in to reply to this topic.