• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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