WooCommerce 9.0.2 has been released
We received reports about an issue in WooCommerce 9.0 with flat rate shipping separators. This update reverts the change that caused this issue.
What’s in this release
This release fixes an issue with decimal and thousand separators in flat rate shipping costs.
WooCommerce 9.0 and 9.0.1 broke backwards compatibility with some stores that used decimal and thousand separators when entering their flat rate shipping cost. Specifically, stores with shipping cost that used both thousand and decimal separators would calculate shipping rates incorrectly, as shared in our previous developer advisory. This dot release – 9.0.2 – fixes this issue by restoring the previous behaviour.
As we’ve reverted the logic that introduced this issue, the workaround shared in our previous developer advisory isn’t applicable for this release.
This update means that all flat rate shipping costs that worked in WooCommerce 8.9 and earlier should continue to work as-is in this release.
Thousand separators are not supported in flat rate shipping costs and may result in unintended outputs. For example, if your flat rate shipping costs $12,345.67, you should enter 12345.67
or 12345,67
as the price. Here’s an example:
Please note that this change also reintroduces an issue with how decimals are displayed in the backend of the flat-rate shipping settings, as shown here. This is a known issue, but we made the decision to prioritize restoring backwards compatibility at this time.
- Revert PR 46857 for backward compatibility #48753
Leave a Reply