• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Decimal Separator Issue - Woocommerce

MarcoCris

New Pleskian
Hi,

i have issues with decimal separators in my e-commerce website. Woocommerce uses php setlocale value to manage product weight decimal separator. I have dot, i need comma. I changed the locale centos value from SSH and now it's it_IT.utf8. For some reasons, woocommerce is expecting dots again. I'm sorry if i'm doing something wrong, i'm not an expert. Thank you very much!
 
The locale for PHP scripts must be set in the script, not on the system. Normally you should be able to define the separator in Woocommerce general settings within Woocommerce in Wordpress.
 
The locale for PHP scripts must be set in the script, not on the system. Normally you should be able to define the separator in Woocommerce general settings within Woocommerce in Wordpress.

Thank you for your answer! Woocommerce have settings for price, not for weight, unfortunately. In this Github issue, Woocommerce developer said that you need to use php setlocale: Different decimal separator in Spanish version in price and weight · Issue #13268 · woocommerce/woocommerce

This is why i thought to do so...
 
Back
Top